From 0574302840bead03676162fda59136a0c8ef649b Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Thu, 22 May 2014 15:39:31 +0100 Subject: [PATCH] Fix dialog for resetting user password --- .../main/resources/theme/admin/base/resources/js/services.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/forms/common-themes/src/main/resources/theme/admin/base/resources/js/services.js b/forms/common-themes/src/main/resources/theme/admin/base/resources/js/services.js index b827960997..3a48af662b 100755 --- a/forms/common-themes/src/main/resources/theme/admin/base/resources/js/services.js +++ b/forms/common-themes/src/main/resources/theme/admin/base/resources/js/services.js @@ -77,8 +77,6 @@ module.service('Dialog', function($modal) { } dialog.confirm = function(title, message, success, cancel) { - var title = title; - var msg = '' + message + '"'; var btns = { ok: { 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