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:
beea1e8
)
Builder/DialogNewComponent.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 27 May 2010 08:08:34 +0000
(16:08 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 27 May 2010 08:08:34 +0000
(16:08 +0800)
Builder/DialogNewComponent.js
patch
|
blob
|
history
diff --git
a/Builder/DialogNewComponent.js
b/Builder/DialogNewComponent.js
index
a29c2c6
..
13796b4
100644
(file)
--- a/
Builder/DialogNewComponent.js
+++ b/
Builder/DialogNewComponent.js
@@
-74,11
+74,11
@@
DialogNewComponent=new XObject({
},
listeners : {
-
"delete_event":
function (self, event) {
+
delete_event :
function (self, event) {
this.el.hide();
return true;
},
-
"response":
function (self, response_id) {
+
response :
function (self, response_id) {
if (response_id < 1) { // cancel!
this.el.hide();
return;
@@
-121,7
+121,7
@@
DialogNewComponent=new XObject({
this.get('/DialogNewComponent').success(_this.project, nf);
}
},
-
"show":
function (self) {
+
show :
function (self) {
this.el.show_all();
}
},