diff --git a/src/main/webapp/scripts/dialogs/recon-dialog.js b/src/main/webapp/scripts/dialogs/recon-dialog.js index 5172e3be0..310fa7eb3 100644 --- a/src/main/webapp/scripts/dialogs/recon-dialog.js +++ b/src/main/webapp/scripts/dialogs/recon-dialog.js @@ -65,8 +65,8 @@ ReconDialog.prototype._createDialog = function() { '' + '' + 'Use ' + - ' recon service ' + - ' relevance service ' + + ' relevance service ' + + ' recon service ' + '' + '' + '' + @@ -179,7 +179,7 @@ ReconDialog.prototype._wireEvents = function() { var self = this; this._elmts.heuristicTypeInput - .suggestT({ type : '/type/type' }) + .suggest({ type : '/type/type' }) .bind("fb-select", function(e, data) { $('input[name="recon-dialog-type-choice"][value=""]').attr("checked", "true"); @@ -199,10 +199,12 @@ ReconDialog.prototype._wireEvents = function() { ReconDialog.prototype._rewirePropertySuggests = function(schema) { var inputs = $('input[name="recon-dialog-heuristic-property"]'); - inputs.suggestP({ - type: '/type/property', - schema: schema || "/common/topic" - }); + inputs.suggest({ + type: '/type/property', + 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() {