mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acf828b72e |
@@ -397,15 +397,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// N°3995: Loader is shown immediately, otherwise when we have a huge amount of items, we can have a bottleneck on the buildMosaic() function, blocking the display of the loader
|
||||||
|
showMosaicLoader();
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
// Auto collapse item actions popup
|
// Auto collapse item actions popup
|
||||||
$('body').click(function(){
|
$('body').click(function(){
|
||||||
$('#brick_content_mosaic .item-action-wrapper.collapse.in').collapse('hide');
|
$('#brick_content_mosaic .item-action-wrapper.collapse.in').collapse('hide');
|
||||||
});
|
});
|
||||||
|
|
||||||
// Build the tree (collapsed)
|
// Build the mosaic (collapsed)
|
||||||
showMosaicLoader();
|
|
||||||
buildMosaic(oRawDatas);
|
buildMosaic(oRawDatas);
|
||||||
hideMosaicLoader();
|
hideMosaicLoader();
|
||||||
registerFilterListeners();
|
registerFilterListeners();
|
||||||
|
|||||||
@@ -321,6 +321,8 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// N°3995: Loader is shown immediately, otherwise when we have a huge amount of items, we can have a bottleneck on the buildTree() function, blocking the display of the loader
|
||||||
|
showTreeLoader();
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
// Init expand/collapse all buttons
|
// Init expand/collapse all buttons
|
||||||
$('#btn-collapse-all').on('click', function (oEvent) {
|
$('#btn-collapse-all').on('click', function (oEvent) {
|
||||||
@@ -405,7 +407,6 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Build the tree (collapsed)
|
// Build the tree (collapsed)
|
||||||
showTreeLoader();
|
|
||||||
buildTree(oRawDatas);
|
buildTree(oRawDatas);
|
||||||
hideTreeLoader();
|
hideTreeLoader();
|
||||||
registerFilterListeners();
|
registerFilterListeners();
|
||||||
|
|||||||
Reference in New Issue
Block a user