Adding close callback to modal.

This commit is contained in:
Samuel Clay 2020-06-09 18:40:12 -04:00
parent 3f6feb87aa
commit fc5a09479d

View file

@ -703,8 +703,11 @@
s.d.iframe && s.d.iframe.hide().remove();
s.d.overlay.remove();
// reset the dialog object
s.d = {};
setTimeout(function(){
// reset the dialog object
s.d = {};
$.isFunction(callback) && callback();
}, 10);
}
}
};