Properties from suggest widget don't have expected types sp use default
This commit is contained in:
parent
6e50347c77
commit
7de8773132
@ -146,13 +146,12 @@ ExtendDataPreviewDialog.prototype._show = function(properties) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this._elmts.addPropertyInput.suggestP(suggestConfig).bind("fb-select", function(evt, data) {
|
this._elmts.addPropertyInput.suggestP(suggestConfig).bind("fb-select", function(evt, data) {
|
||||||
var expected = data.expected_type;
|
|
||||||
self._addProperty({
|
self._addProperty({
|
||||||
id : data.id,
|
id : data.id,
|
||||||
name: data.name,
|
name: data.name,
|
||||||
expected: {
|
expected: {
|
||||||
id: expected.id,
|
id: "/type/object",
|
||||||
name: expected.name
|
name: "Object"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user