diff --git a/src/main/webapp/scripts/project/browsing-engine.js b/src/main/webapp/scripts/project/browsing-engine.js index 566dd08da..8ec40b5bf 100644 --- a/src/main/webapp/scripts/project/browsing-engine.js +++ b/src/main/webapp/scripts/project/browsing-engine.js @@ -164,8 +164,8 @@ BrowsingEngine.prototype.removeFacet = function(facet) { BrowsingEngine.prototype.update = function(onDone) { var self = this; - this._elmts.controls.hide(); this._elmts.indicator.show(); + this._elmts.controls.hide(); $.post( "/command/compute-facets?" + $.param({ project: theProject.id }), @@ -179,8 +179,8 @@ BrowsingEngine.prototype.update = function(onDone) { self._elmts.indicator.hide(); if (self._facets.length > 0) { - self._elmts.help.hide(); self._elmts.controls.show(); + self._elmts.help.hide(); } else { self._elmts.help.show(); } diff --git a/src/main/webapp/styles/project/browsing.css b/src/main/webapp/styles/project/browsing.css index 2b13d8052..8f9ddc86b 100644 --- a/src/main/webapp/styles/project/browsing.css +++ b/src/main/webapp/styles/project/browsing.css @@ -1,12 +1,19 @@ .browsing-panel-header { height: 5em; + position: relative; } .browsing-panel-indicator { display: none; + position: absolute; + width: 100%; + top: 0px; } .browsing-panel-controls { display: none; + position: absolute; + width: 100%; + top: 0px; } .browsing-panel-help { padding: 10px;