mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
New networkmaps in progress... (Changed alert to dialog)
This commit is contained in:
parent
ee9083ae73
commit
69e5c12cfe
@ -1345,6 +1345,8 @@ if (empty($list_networkmaps))
|
|||||||
$list_networkmaps = array();
|
$list_networkmaps = array();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<div id="open_version_dialog" style="display: none;">In the Open version of PandoraFMS can not be edited nodes or map</div>
|
||||||
|
|
||||||
<div id="dialog_node_edit" style="display: none;" title="<?php echo __('Edit node');?>">
|
<div id="dialog_node_edit" style="display: none;" title="<?php echo __('Edit node');?>">
|
||||||
<div style="text-align: left; width: 100%;">
|
<div style="text-align: left; width: 100%;">
|
||||||
<?php
|
<?php
|
||||||
|
@ -1959,7 +1959,7 @@ function init_drag_and_drop() {
|
|||||||
url: action="ajax.php",
|
url: action="ajax.php",
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
if (data['correct']) {
|
if (data['correct']) {
|
||||||
alert("In the Open version of PandoraFMS can not be edited nodes or map");
|
$("#open_version_dialog").dialog();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user