Migrated login modal to new dlg system

This commit is contained in:
Fergal Moran
2013-06-19 15:23:54 +01:00
parent 73f6c3c0f1
commit c6dc030af0
3 changed files with 33 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ define ["underscore", "backbone", "vent", "utils", "text!/tpl/HeaderView"],
@listenTo vent, "mix:pause", @trackPaused
login: ->
utils.modal "tpl/LoginView"
utils.modal "dlg/LoginView"
logout: ->
utils.showAlert "Success", "You are now logged out"

View File

@@ -39,7 +39,7 @@ Code provided under the BSD License:
};
HeaderView.prototype.login = function() {
return utils.modal("tpl/LoginView");
return utils.modal("dlg/LoginView");
};
HeaderView.prototype.logout = function() {