Sample/Editor.bjs
authorAlan Knowles <alan@akbkhome.com>
Mon, 1 Nov 2010 02:39:09 +0000 (10:39 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 1 Nov 2010 02:39:09 +0000 (10:39 +0800)
Sample/Editor.bjs

index b03a4fb..9fd6cd6 100644 (file)
@@ -32,7 +32,7 @@
                             "items": [
                                 {
                                     "listeners": {
-                                        "activate": "function (self) {\n  this.get\n}"
+                                        "activate": "function (self) {\n  this.get('/Editor.RightEditor').save();\n}"
                                     },
                                     "label": "Save",
                                     "xtype": "Button",