Fixed confirm message
This commit is contained in:
parent
08b278069d
commit
649c93864c
@ -3253,7 +3253,7 @@ angular.module('myApp.services', [])
|
|||||||
if (typeof params === 'string') {
|
if (typeof params === 'string') {
|
||||||
params = {message: params};
|
params = {message: params};
|
||||||
}
|
}
|
||||||
confirm(params.message).then(function (result) {
|
confirm(params).then(function (result) {
|
||||||
callback(result || true)
|
callback(result || true)
|
||||||
}, function () {
|
}, function () {
|
||||||
callback(false)
|
callback(false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user