Builder/DialogNewComponent.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 29 Apr 2010 09:50:14 +0000 (17:50 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 29 Apr 2010 09:50:14 +0000 (17:50 +0800)
Builder/DialogNewComponent.js

index 35790a8..ca24a2d 100755 (executable)
@@ -45,7 +45,9 @@ DialogNewComponent = new XObject({
        
         show : function (c) 
         {
-            
+            if (!this.el) {
+                this.init();
+            }
             c = c || { name : '' , xtype : '' };
             // check whic project we are adding to..
             XObject.extend(this, c);