Fixed: Error messages not being shown in the UI or being shown in the wrong place

This commit is contained in:
Mark McDowall
2014-06-04 08:38:26 -07:00
parent 9916479f02
commit 545bc756f2
13 changed files with 66 additions and 34 deletions

View File

@@ -9,15 +9,15 @@ define(
return Marionette.AppRouter.extend({
initialize: function () {
vent.on(vent.Commands.OpenControlPanelCommand, this._openControlPanel, this);
vent.on(vent.Commands.CloseControlPanelCommand, this._closeControlPanel, this);
vent.on(vent.Commands.OpenControlPanelCommand, this._openModal, this);
vent.on(vent.Commands.CloseControlPanelCommand, this._closeModal, this);
},
_openControlPanel: function (view) {
_openModal: function (view) {
AppLayout.controlPanelRegion.show(view);
},
_closeControlPanel: function () {
_closeModal: function () {
AppLayout.controlPanelRegion.closePanel();
}
});