Bootstrap Modal Scroll with Alert & Confirm Box

 common.confirm(common.constants.deleteConfirmMsg.replace('[record]', 'record'), function () {
            for (var i = 0; i < contract.temp.repairEquipment.length; i++) {
                if (contract.temp.repairEquipment[i].contract_repair_uld_local_id == id) {
                    contract.temp.repairEquipment[i].status = 3;
                }
            }

// add This code after call back Function
            if ($('#modalName').is(':visible')) {
                setTimeout(function () {
                    $('body').addClass('modal-open');
                }, 500);
            }

        });

Comments

Popular posts from this blog

Scroll After Fixed Navigation

Bootstrap CSS Customize with SCSS CSS

Best way to prevent page scrolling on drag (mobile)