documentReverted: function(event) {\r
commands.resetDocument(event.document, 'revert');\r
sandbox.getModule('mainBar').setCommandEnabled('save', true);\r
documentReverted: function(event) {\r
commands.resetDocument(event.document, 'revert');\r
sandbox.getModule('mainBar').setCommandEnabled('save', true);\r
views.mainLayout.setView('topPanel', sandbox.getModule('mainBar').getView());\r
},\r
'cmd.save': function() {\r
views.mainLayout.setView('topPanel', sandbox.getModule('mainBar').getView());\r
},\r
'cmd.save': function() {\r