projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0420a97
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 26 May 2010 07:15:20 +0000
(15:15 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 26 May 2010 07:15:20 +0000
(15:15 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
584a4c5
..
f4f120f
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-96,7
+96,7
@@
Builder = {
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);
this.dialog.show();
@@
-127,8
+127,14
@@
Builder = {
}
});
}
- this.layoutbase.addxtype( cfg );
-
+ try {
+ console.log("ADDING CFG");
+ this.layoutbase.addxtype( cfg );
+ } catch (e) {
+ console.log("GOT ERROR?");
+ console.log(e);
+ console.log(JSON.stringify(e));
+ }
},