fix bug
This commit is contained in:
parent
12ff895230
commit
8168fa950f
|
@ -28,7 +28,7 @@
|
|||
confirm: function (title, text, type, callback, notClose, extendSettings) {
|
||||
var options = {
|
||||
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,
|
||||
showCancelButton: true,
|
||||
showLoaderOnConfirm: !!notClose,
|
||||
|
|
Reference in a new issue