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:
parent
c1498448e4
commit
a3181bbd8f
@ -308,15 +308,9 @@ SchemaAlignmentDialog.UILink.prototype._showPropertySuggestPopup = function(elmt
|
|||||||
*/
|
*/
|
||||||
} else {
|
} else {
|
||||||
var sourceTypeID = this._parentUINode.getExpectedType();
|
var sourceTypeID = this._parentUINode.getExpectedType();
|
||||||
/*
|
|
||||||
if (sourceTypeID != null) {
|
if (sourceTypeID != null) {
|
||||||
suggestOptions.mql_filter = [{
|
suggestOptions.schema = sourceTypeID;
|
||||||
"/type/property/schema" : {
|
|
||||||
id: sourceTypeID
|
|
||||||
}
|
|
||||||
}];
|
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
input.suggestP(suggestOptions).bind("fb-select", function(e, data) { commitProperty(data); });
|
input.suggestP(suggestOptions).bind("fb-select", function(e, data) { commitProperty(data); });
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user