Fixed new bug for query-based reconciliation introduced by factoring out the freebase extension

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1611 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-10-20 04:52:35 +00:00
parent 0e0c3ccea2
commit 9b8206da29
3 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@ abstract public class ReconConfig implements Jsonizable {
String mode = obj.getString("mode");
// Backward compatibility
if ("extend".equals(mode) || "strict".equals("mode")) {
if ("extend".equals(mode) || "strict".equals(mode)) {
mode = "freebase/" + mode;
} else if ("heuristic".equals(mode)) {
mode = "core/standard-service"; // legacy

View File

@ -7,7 +7,7 @@ function HistoryPanel(div, tabHeader) {
HistoryPanel.prototype.resize = function() {
var body = this._div.find(".history-panel-body");
var controls = this._div.find(".history-panel-controls");
var bodyControls = this._div.find(".history-panel-body-controls");
var bodyControls = this._div.find(".history-panel-filter");
var nowDiv = this._div.find(".history-now");
var bodyPaddings = body.outerHeight(true) - body.height();

View File

@ -68,7 +68,7 @@ ReconFreebaseQueryPanel.prototype.start = function() {
bodyParams = {
columnName: this._column.name,
config: JSON.stringify({
mode: "strict",
mode: "freebase/strict",
match: "key",
namespace: namespace
})
@ -77,7 +77,7 @@ ReconFreebaseQueryPanel.prototype.start = function() {
bodyParams = {
columnName: this._column.name,
config: JSON.stringify({
mode: "strict",
mode: "freebase/strict",
match: "id"
})
};
@ -85,7 +85,7 @@ ReconFreebaseQueryPanel.prototype.start = function() {
bodyParams = {
columnName: this._column.name,
config: JSON.stringify({
mode: "strict",
mode: "freebase/strict",
match: "guid"
})
};