This commit is contained in:
MaysWind 2017-03-26 19:32:17 +08:00
parent 12ff895230
commit 8168fa950f

View file

@ -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,