documentChanged: function(document, reason) {\r
var slug = (reason === 'visual_edit' ? 'source' : 'visual');\r
sandbox.getModule(slug+'Editor').setDocument(document);\r
+ },\r
+ savingStarted: function() {\r
+ sandbox.getModule('skelton').deactivateCommand('save');\r
+ sandbox.getModule('skelton').showMessage(gettext('Saving...'));\r
+ },\r
+ savingEnded: function(status) {\r
+ sandbox.getModule('skelton').activateCommand('save');\r
+ sandbox.getModule('skelton').clearMessage();\r
}\r
}\r
\r