Properties from suggest widget don't have expected types sp use default

This commit is contained in:
Shardul Deo 2012-11-19 12:42:02 +08:00
parent 6e50347c77
commit 7de8773132

View File

@ -146,13 +146,12 @@ ExtendDataPreviewDialog.prototype._show = function(properties) {
}
this._elmts.addPropertyInput.suggestP(suggestConfig).bind("fb-select", function(evt, data) {
var expected = data.expected_type;
self._addProperty({
id : data.id,
name: data.name,
expected: {
id: expected.id,
name: expected.name
id: "/type/object",
name: "Object"
}
});
});