added modal reload function

This commit is contained in:
Adam Haglund 2017-08-20 00:07:55 +02:00
parent fcb4a58da9
commit 35ba85dc97

View File

@ -31,6 +31,10 @@ export function hideModal (modalCls) {
return _getModal(modalCls).hide();
}
export function reloadModal (modalCls) {
return _getModal(modalCls)._load();
}
export function hideAllModals () {
for (const key of Object.keys(modals)) {
const modal = modals[key];