fix bug
This commit is contained in:
parent
12ff895230
commit
8168fa950f
|
@ -28,7 +28,7 @@
|
||||||
confirm: function (title, text, type, callback, notClose, extendSettings) {
|
confirm: function (title, text, type, callback, notClose, extendSettings) {
|
||||||
var options = {
|
var options = {
|
||||||
title: $translate.instant(title),
|
title: $translate.instant(title),
|
||||||
text: $translate.instant(text, (extendSettings !== null ? extendSettings.textParams : null)),
|
text: $translate.instant(text, (angular.isObject(extendSettings) ? extendSettings.textParams : null)),
|
||||||
type: type,
|
type: type,
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
showLoaderOnConfirm: !!notClose,
|
showLoaderOnConfirm: !!notClose,
|
||||||
|
|
Reference in a new issue