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
This commit is contained in:
David Huynh 2010-03-03 21:30:46 +00:00
parent c1498448e4
commit a3181bbd8f

View File

@ -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); });