From: cajus Date: Tue, 5 Jan 2010 12:06:08 +0000 (+0000) Subject: Fixed IE error X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f6e97943e36a1aa14957fed67e4c35d51842862a;p=gosa.git Fixed IE error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15054 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/include/pulldown.js b/gosa-core/html/include/pulldown.js index f4332219c..1889a703e 100644 --- a/gosa-core/html/include/pulldown.js +++ b/gosa-core/html/include/pulldown.js @@ -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;