From af3eadb41962ebefe7e62b02f9b34ecddcc6f091 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 15 May 2018 08:43:13 -0600 Subject: [PATCH] Fix loader never goes away if you use shift to select just a few rows --- api/js/etemplate/et2_dataview_controller_selection.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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);