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();
|
||||
?>
|
||||
|
||||
<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 style="text-align: left; width: 100%;">
|
||||
<?php
|
||||
|
|
|
@ -1959,7 +1959,7 @@ function init_drag_and_drop() {
|
|||
url: action="ajax.php",
|
||||
success: function (data) {
|
||||
if (data['correct']) {
|
||||
alert("In the Open version of PandoraFMS can not be edited nodes or map");
|
||||
$("#open_version_dialog").dialog();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue