Merge branch 'develop' of github.com:pandorafms/pandorafms into develop
This commit is contained in:
commit
2ac861b8d9
|
@ -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