|
|
@@ -2977,6 +2977,8 @@ define([ 'app/app', 'jquery-uploadify' ], function(app) {
|
|
|
$scope.deleteModal = false;
|
|
|
$modalInstance.close(data);
|
|
|
}, function (response) {
|
|
|
+ $scope.deleteModal = false;
|
|
|
+ $modalInstance.dismiss();
|
|
|
toaster.pop('error', response.data);
|
|
|
});
|
|
|
}
|
|
|
@@ -2991,6 +2993,7 @@ define([ 'app/app', 'jquery-uploadify' ], function(app) {
|
|
|
toaster.pop('success', '提示', '删除成功');
|
|
|
}, function (response) {
|
|
|
toaster.pop('error', '错误', response.data);
|
|
|
+
|
|
|
});
|
|
|
}, function (response) {
|
|
|
toaster.pop('error', '错误', response.data);
|