Browsing engine didn't initialize properly from permalink: it triggered an update when other parts of the UI hadn't been constructed.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@770 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-05-14 19:27:01 +00:00
parent 624b421da9
commit 1a87d672cf
2 changed files with 4 additions and 2 deletions

View File

@ -118,6 +118,10 @@ function initializeUI(uiState) {
}); });
$(window).bind("resize", resizeAll); $(window).bind("resize", resizeAll);
if (uiState.facets) {
Gridworks.update({ engineChanged: true });
}
} }
Gridworks.setTitle = function(status) { Gridworks.setTitle = function(status) {

View File

@ -27,8 +27,6 @@ function BrowsingEngine(div, facetConfigs) {
this._facets.push({ elmt: elmt, facet: facet }); this._facets.push({ elmt: elmt, facet: facet });
} }
Gridworks.update({ engineChanged: true });
} }
} }