default to 'relevance' instead of recon (which is faster). Change to recon if the user suggests schema hooks.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@363 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
571f2c9ab3
commit
5884d257db
@ -65,8 +65,8 @@ ReconDialog.prototype._createDialog = function() {
|
|||||||
'</td>' +
|
'</td>' +
|
||||||
'<td>' +
|
'<td>' +
|
||||||
'Use ' +
|
'Use ' +
|
||||||
'<input type="radio" name="recon-dialog-heuristic-service" value="recon" checked /> recon service ' +
|
'<input type="radio" name="recon-dialog-heuristic-service" value="relevance" checked="" /> relevance service ' +
|
||||||
'<input type="radio" name="recon-dialog-heuristic-service" value="relevance" /> relevance service ' +
|
'<input type="radio" name="recon-dialog-heuristic-service" value="recon" /> recon service ' +
|
||||||
'</td>' +
|
'</td>' +
|
||||||
'</tr>' +
|
'</tr>' +
|
||||||
'</table></div>' +
|
'</table></div>' +
|
||||||
@ -179,7 +179,7 @@ ReconDialog.prototype._wireEvents = function() {
|
|||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
this._elmts.heuristicTypeInput
|
this._elmts.heuristicTypeInput
|
||||||
.suggestT({ type : '/type/type' })
|
.suggest({ type : '/type/type' })
|
||||||
.bind("fb-select", function(e, data) {
|
.bind("fb-select", function(e, data) {
|
||||||
$('input[name="recon-dialog-type-choice"][value=""]').attr("checked", "true");
|
$('input[name="recon-dialog-type-choice"][value=""]').attr("checked", "true");
|
||||||
|
|
||||||
@ -199,10 +199,12 @@ ReconDialog.prototype._wireEvents = function() {
|
|||||||
ReconDialog.prototype._rewirePropertySuggests = function(schema) {
|
ReconDialog.prototype._rewirePropertySuggests = function(schema) {
|
||||||
var inputs = $('input[name="recon-dialog-heuristic-property"]');
|
var inputs = $('input[name="recon-dialog-heuristic-property"]');
|
||||||
|
|
||||||
inputs.suggestP({
|
inputs.suggest({
|
||||||
type: '/type/property',
|
type: '/type/property',
|
||||||
schema: schema || "/common/topic"
|
schema: schema || "/common/topic"
|
||||||
});
|
}).bind("fb-select", function(e, data) {
|
||||||
|
$('input[name="recon-dialog-heuristic-service"][value="recon"]').attr("checked", "true");
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
ReconDialog.prototype._onOK = function() {
|
ReconDialog.prototype._onOK = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user