Open stephenllai opened 5 years ago
When multiple modals are stacked, $.modal.close(); makes all modals closed. Only rel="modal:close" can be used for closing the active model.
If I really want to use Javascript for closing only the active modal, any idea?
try this. $.modal.getCurrent().close();
When multiple modals are stacked, $.modal.close(); makes all modals closed. Only rel="modal:close" can be used for closing the active model.
If I really want to use Javascript for closing only the active modal, any idea?