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:
57b93dc
)
Sample/Editor.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 1 Nov 2010 02:46:08 +0000
(10:46 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 1 Nov 2010 02:46:08 +0000
(10:46 +0800)
Sample/Editor.js
patch
|
blob
|
history
diff --git
a/Sample/Editor.js
b/Sample/Editor.js
index
3c12391
..
b5ac616
100644
(file)
--- a/
Sample/Editor.js
+++ b/
Sample/Editor.js
@@
-53,7
+53,7
@@
Editor=new XObject({
{
xtype: Gtk.Button,
listeners : {
-
activate
: function (self) {
+
clicked
: function (self) {
this.get('/Editor.RightEditor').save();
}
},
@@
-67,7
+67,7
@@
Editor=new XObject({
id : "RightEditor",
pack : "add",
save : function() {
- var str = this.get('/
LeftPanel
.buffer').toString();
+ var str = this.get('/
Editor
.buffer').toString();
this.get('/LeftPanel.model').changed( str , false);
this.get('/Editor').dirty = false;
this.get('/Editor.save_button').el.sensitive = false;