mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fix minor bug
This commit is contained in:
parent
867749f9d3
commit
19fe7ffe73
@ -924,13 +924,14 @@ $(document).ready (function () {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
$("#left_iblacklist").click (function () {
|
$("#left_iblacklist").click (function () {
|
||||||
|
debugger;
|
||||||
jQuery.each($("select[name='inventory_changes_blacklist[]'] option:selected"), function (key, value) {
|
jQuery.each($("select[name='inventory_changes_blacklist[]'] option:selected"), function (key, value) {
|
||||||
imodule_name = $(value).html();
|
imodule_name = $(value).html();
|
||||||
if (imodule_name != <?php echo "'".__('None')."'"; ?>) {
|
if (imodule_name != <?php echo "'".__('None')."'"; ?>) {
|
||||||
id_imodule = $(value).attr('value');
|
id_imodule = $(value).attr('value');
|
||||||
$("select[name='inventory_changes_blacklist_out[]']")
|
$("select[name='inventory_changes_blacklist_out[]']")
|
||||||
.append(
|
.append(
|
||||||
$("<option><option>")
|
$("<option></option>")
|
||||||
.val(id_imodule)
|
.val(id_imodule)
|
||||||
.html('<i>' + imodule_name + '</i>')
|
.html('<i>' + imodule_name + '</i>')
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user