From 649c93864c6687764a24e321e8083826383017a8 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Tue, 29 Apr 2014 22:14:56 +0800 Subject: [PATCH] Fixed confirm message --- app/js/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/services.js b/app/js/services.js index 8743cdbd..a89b3296 100644 --- a/app/js/services.js +++ b/app/js/services.js @@ -3253,7 +3253,7 @@ angular.module('myApp.services', []) if (typeof params === 'string') { params = {message: params}; } - confirm(params.message).then(function (result) { + confirm(params).then(function (result) { callback(result || true) }, function () { callback(false)