In the range facet, although we don't want to update the facets until the user stops dragging, we still want to update the selection indicators from-to during the dragging.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@263 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
c03b223a78
commit
1000d63539
@ -132,6 +132,8 @@ RangeFacet.prototype._initializeUI = function() {
|
||||
self._to = ui.values[1];
|
||||
}
|
||||
self._setRangeIndicators();
|
||||
};
|
||||
var onStop = function() {
|
||||
self._updateRest();
|
||||
};
|
||||
var sliderConfig = {
|
||||
@ -139,7 +141,8 @@ RangeFacet.prototype._initializeUI = function() {
|
||||
min: this._config.min,
|
||||
max: this._config.max,
|
||||
value: 2,
|
||||
stop: onSlide
|
||||
stop: onStop,
|
||||
slide: onSlide
|
||||
};
|
||||
if ("step" in this._config) {
|
||||
sliderConfig.step = this._config.step;
|
||||
|
Loading…
Reference in New Issue
Block a user