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:
1557b20
)
Sample/Editor.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 1 Nov 2010 03:27:35 +0000
(11:27 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 1 Nov 2010 03:27:35 +0000
(11:27 +0800)
Sample/Editor.js
patch
|
blob
|
history
diff --git
a/Sample/Editor.js
b/Sample/Editor.js
index
cfbd524
..
d37ff26
100644
(file)
--- a/
Sample/Editor.js
+++ b/
Sample/Editor.js
@@
-14,7
+14,7
@@
Editor=new XObject({
xtype: Gtk.Window,
listeners : {
destroy_event : function (self, event) {
- if (!this.save()) {
+ if (!this.
get('/Editor.RightEditor').
save()) {
// no hiding with errors.
return true;
}
@@
-22,7
+22,7
@@
Editor=new XObject({
return true;
},
delete_event : function (self, event) {
- if (!this.save()) {
+ if (!this.
get('/Editor.RightEditor').
save()) {
// no hiding with errors.
return true;
}