Quick fix to prevent jittering in facet panel.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@494 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-04-17 06:40:42 +00:00
parent 950abbc7ea
commit 98f12544de
2 changed files with 9 additions and 2 deletions

View File

@ -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();
}

View File

@ -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;