Code

Fixed IE error
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Jan 2010 12:06:08 +0000 (12:06 +0000)
committercajus <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

index f4332219c39a689c05c8f60924f89a5f446b750d..1889a703eb86a64691d21b7583a0d4c40ab9e998 100644 (file)
@@ -60,6 +60,7 @@ MenuContainer.prototype = {
 
        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;