Builder/DialogNewComponent.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 10 May 2010 10:32:22 +0000 (18:32 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 10 May 2010 10:32:22 +0000 (18:32 +0800)
Builder/DialogNewComponent.js

index cf8324b..6c4b334 100755 (executable)
@@ -50,8 +50,8 @@ DialogNewComponent = new XObject({
             c = c || { name : '' , xtype : '' };
             // check whic project we are adding to..
             XObject.extend(this, c);
-            var Window                = imports.Builder.Window.Window;
-            this.el.set_screen(Window.el.get_screen());
+           /// var Window                = imports.Builder.Window.Window;
+            //this.el.set_screen(Window.el.get_screen());
             
             var paths = [];
             for (var i in this.project.paths) {