Commit ff605114 by NGUYEN HOANG SON

fix timeout callback when close confirm modal

parent 898bc7e7
......@@ -98,7 +98,10 @@ COMMON.showConfirmModal = function (data, confirmCallback) {
$('#confirm-modal #confirmYes').click(function() {
$('#confirm-modal .close').click();
if (confirmCallback) {
confirmCallback();
//timeout for animation modal close
setTimeout(function() {
confirmCallback();
}, 500);
}
});
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment