Fix dialog for resetting user password
This commit is contained in:
parent
fad0a7728c
commit
0574302840
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue