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:
ce05a82
)
Builder/DialogNewComponent.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 30 Apr 2010 08:37:18 +0000
(16:37 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 30 Apr 2010 08:37:18 +0000
(16:37 +0800)
Builder/DialogNewComponent.js
patch
|
blob
|
history
diff --git
a/Builder/DialogNewComponent.js
b/Builder/DialogNewComponent.js
index
4999ae6
..
d58f134
100755
(executable)
--- a/
Builder/DialogNewComponent.js
+++ b/
Builder/DialogNewComponent.js
@@
-143,7
+143,10
@@
DialogNewComponent = new XObject({
var _this = this;
var nf = _this.project.create(dir + '/' + xidns + '.bjs');
- this.success(_this.project, nf);
+ if (DialogNewComponent.success) {
+ DialogNewComponent.success(_this.project, nf);
+ }
+
//tmpl.copyTo(dir + '/' + xidns + '.bjs', function() {
// tmpl.setNSID(xidns);
/// _this.project.addFile(tmpl);