Fix dialog for resetting user password

This commit is contained in:
Stian Thorgersen 2014-05-22 15:39:31 +01:00
parent fad0a7728c
commit 0574302840

View file

@ -77,8 +77,6 @@ module.service('Dialog', function($modal) {
} }
dialog.confirm = function(title, message, success, cancel) { dialog.confirm = function(title, message, success, cancel) {
var title = title;
var msg = '<span class="primary">' + message + '"</span>';
var btns = { var btns = {
ok: { ok: {
label: title, label: title,
@ -90,7 +88,7 @@ module.service('Dialog', function($modal) {
} }
} }
openDialog(title, msg, btns).then(success).reject(cancel); openDialog(title, message, btns).then(success, cancel);
} }
return dialog return dialog