Minor dom wiring bug in clustering dialog.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1055 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
04d32746d8
commit
2adc0ad1db
@ -21,13 +21,13 @@ ClusteringDialog.prototype._createDialog = function() {
|
||||
this._elmts.methodSelector.change(function() {
|
||||
var selection = $(this).find("option:selected").text();
|
||||
if (selection == 'key collision') {
|
||||
body.find(".binning-controls").show();
|
||||
body.find(".knn-controls").hide();
|
||||
dialog.find(".binning-controls").show();
|
||||
dialog.find(".knn-controls").hide();
|
||||
self._method = "binning";
|
||||
self._elmts.keyingFunctionSelector.change();
|
||||
} else if (selection === 'nearest neighbor') {
|
||||
body.find(".binning-controls").hide();
|
||||
body.find(".knn-controls").show();
|
||||
dialog.find(".binning-controls").hide();
|
||||
dialog.find(".knn-controls").show();
|
||||
self._method = "knn";
|
||||
self._elmts.distanceFunctionSelector.change();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user