summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fbcce41)
raw | patch | inline | side by side (parent: fbcce41)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Jan 2010 12:06:08 +0000 (12:06 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Jan 2010 12:06:08 +0000 (12:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15054 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/include/pulldown.js | patch | blob | history |
index f4332219c39a689c05c8f60924f89a5f446b750d..1889a703eb86a64691d21b7583a0d4c40ab9e998 100644 (file)
init: function(idOrElement, parent) {
this.element = $(idOrElement);
+ if (!this.element) return;
this.parent = parent;
this.parentMenu = (this.type == "menuContainer") ? ((parent) ? parent.parent : null) : parent;
this.root = parent instanceof Menu ? parent : parent.root;