mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +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;
|
var first_time = true;
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(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) {
|
$("input[name=\"message_box\"]").keydown(function(e) {
|
||||||
//Enter key.
|
//Enter key.
|
||||||
if (e.keyCode == 13) {
|
if (e.keyCode == 13) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user