mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
2014-06-12 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_copy_modules.php: Delete the source agent from the target agents lists in massive copy form to avoid errors for ticket: #869 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
081e1ef50d
commit
f2c2b3f8ac
pandora_console
@ -1,3 +1,9 @@
|
||||
2014-06-12 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/massive/massive_copy_modules.php: Delete the
|
||||
source agent from the target agents lists in massive
|
||||
copy form to avoid errors for ticket: #869
|
||||
|
||||
2014-06-11 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions.php: Change incorrect color assigned to
|
||||
|
@ -252,10 +252,9 @@ $(document).ready (function () {
|
||||
},
|
||||
loading: "#destiny_agent_loading",
|
||||
callbackPost: function (id, value, option) {
|
||||
if ($("#source_id_agent").fieldValue ().in_array (id)) {
|
||||
/* Hide source agent */
|
||||
$(option).hide ();
|
||||
}
|
||||
/* Hide source agent */
|
||||
var selected_agent = $("#source_id_agent").val();
|
||||
$("#destiny_id_agent option[value='" + selected_agent + "']").remove();
|
||||
}
|
||||
});
|
||||
|
||||
@ -374,6 +373,8 @@ $(document).ready (function () {
|
||||
},
|
||||
"json"
|
||||
);
|
||||
// Refresh selectable agents to delete the selected one
|
||||
$("#destiny_id_group").trigger("change");
|
||||
},
|
||||
"json"
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user