builder.html.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 4 May 2010 06:27:38 +0000 (14:27 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 4 May 2010 06:27:38 +0000 (14:27 +0800)
builder.html.js

index ee51ee2..19e4a13 100644 (file)
@@ -71,7 +71,9 @@ Builder  = {
             //cfg.items[0].y = xy[1];
             //cfg.items[0].constraintoviewport = false;
         
-            this.dialogroot = Roo.get( document.body).createChild();
+            this.dialogroot = Roo.get( document.body).createChild({
+                id : cfg.id
+               });
              
             this.dialog = new Roo[cfg.xtype](this.dialogroot, cfg);
             //this.dialog.el.on('click', this.panelClick, this);