From a3181bbd8f69aee5c482fd06632b8db3f9a040db Mon Sep 17 00:00:00 2001 From: David Huynh Date: Wed, 3 Mar 2010 21:30:46 +0000 Subject: [PATCH] Made protograph UI link widget use the parent node's expected type to configure its property suggest. git-svn-id: http://google-refine.googlecode.com/svn/trunk@177 7d457c2a-affb-35e4-300a-418c747d4874 --- .../webapp/scripts/protograph/schema-alignment-ui-link.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main/webapp/scripts/protograph/schema-alignment-ui-link.js b/src/main/webapp/scripts/protograph/schema-alignment-ui-link.js index 2093e3bf1..397ec1e06 100644 --- a/src/main/webapp/scripts/protograph/schema-alignment-ui-link.js +++ b/src/main/webapp/scripts/protograph/schema-alignment-ui-link.js @@ -308,15 +308,9 @@ SchemaAlignmentDialog.UILink.prototype._showPropertySuggestPopup = function(elmt */ } else { var sourceTypeID = this._parentUINode.getExpectedType(); - /* if (sourceTypeID != null) { - suggestOptions.mql_filter = [{ - "/type/property/schema" : { - id: sourceTypeID - } - }]; + suggestOptions.schema = sourceTypeID; } - */ } input.suggestP(suggestOptions).bind("fb-select", function(e, data) { commitProperty(data); });