Fixed parents on visual console
pandora_console/godmode/reporting/visual_console_builder.editor.js
This commit is contained in:
parent
cd853362f2
commit
9095ba87cb
|
@ -434,6 +434,9 @@ function fill_parent_select(id_item) {
|
||||||
.filter(function() { if ($(this).attr('value') != 0) return true; })
|
.filter(function() { if ($(this).attr('value') != 0) return true; })
|
||||||
.remove();
|
.remove();
|
||||||
jQuery.each(parents, function(key, value) {
|
jQuery.each(parents, function(key, value) {
|
||||||
|
if (value == undefined) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (id_item == key) {
|
if (id_item == key) {
|
||||||
return; //continue
|
return; //continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue