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:
fa38861
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Jun 2010 07:20:25 +0000
(15:20 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Jun 2010 07:20:25 +0000
(15:20 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
b152ac7
..
fa031aa
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-1,7
+1,11
@@
//<script type="text/javascript">
//<script type="text/javascript">
-var _this = { isBuilder : true };
-
+
+var MODULE = { isBuilder : true };
+// BC
+var _this = MODULE;
+
+// the apprenderer.
Builder = {
render : function(data)
Builder = {
render : function(data)
@@
-11,7
+15,7
@@
Builder = {
this.tree = data;
this.tree = data;
-
_this
= { isBuilder : true };
+
MODULE
= { isBuilder : true };
if (!Builder.click) {
Builder.click= Roo.get(document.body).on('click', this.onclick, this);
if (!Builder.click) {
Builder.click= Roo.get(document.body).on('click', this.onclick, this);
@@
-103,9
+107,9
@@
Builder = {
});
});
-
_this
.dialog = new Roo[cfg.xtype](this.dialogroot, cfg);
+
MODULE
.dialog = new Roo[cfg.xtype](this.dialogroot, cfg);
//this.dialog.el.on('click', this.panelClick, this);
//this.dialog.el.on('click', this.panelClick, this);
-
_this
.dialog.show();
+
MODULE
.dialog.show();
return;
}
return;
}