mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Merge branch 'ent-5762-notificacion-de-chat' into 'develop'
add modal on Webchat See merge request artica/pandorafms!3189
This commit is contained in:
commit
a28ffda2eb
@ -111,6 +111,16 @@ echo "<div style='width:100%'>".html_print_button(
|
||||
var first_time = true;
|
||||
|
||||
$(document).ready(function() {
|
||||
confirmDialog({
|
||||
title: "Attention",
|
||||
message:
|
||||
"<h4 style='text-align: center;'>This feature will be removed from the console in the next version of Pandora FMS.<br><br> If you want to keep the history, make a backup.</h4>",
|
||||
cancel: "Cancel",
|
||||
ok: "Ok",
|
||||
onAccept: function() {
|
||||
// Nothing to do.
|
||||
}
|
||||
});
|
||||
$("input[name=\"message_box\"]").keydown(function(e) {
|
||||
//Enter key.
|
||||
if (e.keyCode == 13) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user