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:
3fb9093
)
Builder/EditProject.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 30 Apr 2010 07:47:21 +0000
(15:47 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 30 Apr 2010 07:47:21 +0000
(15:47 +0800)
Builder/EditProject.js
patch
|
blob
|
history
diff --git
a/Builder/EditProject.js
b/Builder/EditProject.js
index
785cfc0
..
8e540bc
100755
(executable)
--- a/
Builder/EditProject.js
+++ b/
Builder/EditProject.js
@@
-43,13
+43,14
@@
EditProject = new XObject({
c = c || { name : '' , xtype : '' };
this.project = c;
+ if (!this.el) {
+ this.init();
+ }
var _this = this;
[ 'xtype' , 'name' ].forEach(function(k) {
_this.get(k).setValue(typeof(c[k]) == 'undefined' ? '' : c[k]);
});
- if (!this.el) {
- this.init();
- }
+
this.el.show_all();
this.success = c.success;