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:
parent
b495ecf54f
commit
125039047e
@ -27,7 +27,8 @@ function BrowsingEngine(div, facetConfigs) {
|
|||||||
|
|
||||||
this._facets.push({ elmt: elmt, facet: facet });
|
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._facets.push({ elmt: elmt, facet: facet });
|
||||||
this.update();
|
|
||||||
|
Gridworks.update({ engineChanged: true });
|
||||||
};
|
};
|
||||||
|
|
||||||
BrowsingEngine.prototype._createFacetContainer = function() {
|
BrowsingEngine.prototype._createFacetContainer = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user