BrowsingEngine.prototype.addFacet should call Gridworks.update rather than this.update so that the ajax flag gets set properly for testing.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@620 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-05-07 23:25:34 +00:00
parent b495ecf54f
commit 125039047e

View File

@ -27,7 +27,8 @@ function BrowsingEngine(div, facetConfigs) {
this._facets.push({ elmt: elmt, facet: facet });
}
this.update();
Gridworks.update({ engineChanged: true });
}
}
@ -149,7 +150,8 @@ BrowsingEngine.prototype.addFacet = function(type, config, options) {
}
this._facets.push({ elmt: elmt, facet: facet });
this.update();
Gridworks.update({ engineChanged: true });
};
BrowsingEngine.prototype._createFacetContainer = function() {