studio chutier is updating when documents added or removed, also added remove link in document list

This commit is contained in:
Bachir Soussi Chiadmi
2018-03-12 18:33:48 +01:00
parent 119f89abca
commit 76dd9ddbc9
11 changed files with 253 additions and 107 deletions
@@ -23,9 +23,17 @@
}
initScrollbars();
initEvents();
};
function initEvents(){
$('body').on('on-studio-chutier-updated', function(e){
initAjaxLinks();
});
}
// _ _ _
// /_\ _ _ __| (_)___
// / _ \ || / _` | / _ \
@@ -345,6 +353,8 @@
initAjaxLinks();
_$body.trigger({'type':'new-content-ajax-loaded'});
};
// ___