projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
32bcf90
)
Sample/Editor.bjs
author
Alan Knowles
<alan@akbkhome.com>
Mon, 1 Nov 2010 03:23:40 +0000
(11:23 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 1 Nov 2010 03:23:40 +0000
(11:23 +0800)
Sample/Editor.bjs
patch
|
blob
|
history
diff --git
a/Sample/Editor.bjs
b/Sample/Editor.bjs
index
c83e892
..
29abc18
100644
(file)
--- a/
Sample/Editor.bjs
+++ b/
Sample/Editor.bjs
@@
-45,7
+45,7
@@
"id": "RightEditor",
"pack": "add",
"xtype": "ScrolledWindow",
"id": "RightEditor",
"pack": "add",
"xtype": "ScrolledWindow",
- "|save": "function() {\n var str = this.get('/Editor.buffer').toString();\n if (!this.get('/Editor.buffer').checkSyntax()) {\n this.get('/StandardErrorDialog').show(\"Fix errors in code and save..\"); \n }\n \n this.get('/LeftPanel.model').changed( str , false);\n this.get('/Editor').dirty = false;\n this.get('/Editor.save_button').el.sensitive = false;\n return true;\n}\n",
+ "|save": "function() {\n var str = this.get('/Editor.buffer').toString();\n if (!this.get('/Editor.buffer').checkSyntax()) {\n this.get('/StandardErrorDialog').show(\"Fix errors in code and save..\"); \n
return false;\n
}\n \n this.get('/LeftPanel.model').changed( str , false);\n this.get('/Editor').dirty = false;\n this.get('/Editor.save_button').el.sensitive = false;\n return true;\n}\n",
"|xns": "Gtk",
"items": [
{
"|xns": "Gtk",
"items": [
{