mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch '823-alert-action-fields-infinite-wait-dev' into 'develop'
Changed bad jquery get call in alert actions and alerts snmp. See merge request !441
This commit is contained in:
commit
fd6ff530c7
@ -265,7 +265,7 @@ $(document).ready (function () {
|
||||
name: "id",
|
||||
value: this.value});
|
||||
|
||||
jQuery.get (<?php echo "'" . ui_get_full_url("ajax.php", false, false, false) . "'"; ?>,
|
||||
jQuery.post (<?php echo "'" . ui_get_full_url("ajax.php", false, false, false) . "'"; ?>,
|
||||
values,
|
||||
function (data, status) {
|
||||
original_command = js_html_entity_decode (data["command"]);
|
||||
@ -274,6 +274,7 @@ $(document).ready (function () {
|
||||
render_command_description(command_description);
|
||||
|
||||
var max_fields = parseInt('<?php echo $config["max_macro_fields"]; ?>');
|
||||
|
||||
for (i = 1; i <= max_fields; i++) {
|
||||
var old_value = '';
|
||||
var old_recovery_value = '';
|
||||
|
@ -1394,10 +1394,7 @@ $(document).ready (function () {
|
||||
name: "get_recovery_fields",
|
||||
value: "0"
|
||||
});
|
||||
jQuery.get (
|
||||
<?php
|
||||
echo "'" . ui_get_full_url("ajax.php", false, false, false) . "'";
|
||||
?>,
|
||||
jQuery.post (<?php echo "'" . ui_get_full_url("ajax.php", false, false, false) . "'"; ?>,
|
||||
values,
|
||||
function (data, status) {
|
||||
var max_fields = parseInt('<?php echo $config["max_macro_fields"]; ?>');
|
||||
|
Loading…
x
Reference in New Issue
Block a user