ps-toolkit-ui 1.9.48 → 1.9.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/ps-toolkit-ui.umd.js +12 -12
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/modal.class.js +12 -13
- package/fesm2015/ps-toolkit-ui.js +11 -12
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3164,20 +3164,20 @@
|
|
|
3164
3164
|
});
|
|
3165
3165
|
};
|
|
3166
3166
|
ModalClass.prototype.hide = function () {
|
|
3167
|
+
var _this = this;
|
|
3167
3168
|
$__namespace('body').removeClass('open-modal');
|
|
3168
3169
|
$__namespace('#' + this.id + 'Modal').fadeOut(300, function () {
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
// }
|
|
3170
|
+
if (_this.form && _this.form.name !== 'Confirm' && _this.form.name !== 'Alert') {
|
|
3171
|
+
if (_this.form.onHideModal) {
|
|
3172
|
+
_this.form.onHideModal();
|
|
3173
|
+
}
|
|
3174
|
+
}
|
|
3175
|
+
if (_this.table && _this.table.form) {
|
|
3176
|
+
_this.table.form.clear();
|
|
3177
|
+
}
|
|
3178
|
+
if (_this.onHide) {
|
|
3179
|
+
_this.onHide();
|
|
3180
|
+
}
|
|
3181
3181
|
});
|
|
3182
3182
|
};
|
|
3183
3183
|
return ModalClass;
|