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: 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2014-06-12 09:41:29 +00:00
parent 081e1ef50d
commit f2c2b3f8ac
2 changed files with 11 additions and 4 deletions
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"
);