diff --git a/api/js/etemplate/et2_dataview_controller_selection.js b/api/js/etemplate/et2_dataview_controller_selection.js index a91a17c9b1..c5b3115c2c 100644 --- a/api/js/etemplate/et2_dataview_controller_selection.js +++ b/api/js/etemplate/et2_dataview_controller_selection.js @@ -585,8 +585,11 @@ var et2_dataview_selectionManager = (function(){ "use strict"; return Class.exte } }).finally(function() {egw.loading_prompt('select_wait', false)}); - // Lock the UI - we NEED these before the user does something with them - egw.loading_prompt('select_wait', true); + if(queryRanges.length > 0) + { + // Lock the UI - we NEED these before the user does something with them + egw.loading_prompt('select_wait', true); + } } });}).call(this);