mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-06 08:54:12 +00:00
Migrated login modal to new dlg system
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user