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