From 7de8773132d401d302e038c8173191318c18625c Mon Sep 17 00:00:00 2001 From: Shardul Deo Date: Mon, 19 Nov 2012 12:42:02 +0800 Subject: [PATCH] Properties from suggest widget don't have expected types sp use default --- .../module/scripts/dialogs/extend-data-preview-dialog.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/freebase/module/scripts/dialogs/extend-data-preview-dialog.js b/extensions/freebase/module/scripts/dialogs/extend-data-preview-dialog.js index b5639f797..067a40576 100644 --- a/extensions/freebase/module/scripts/dialogs/extend-data-preview-dialog.js +++ b/extensions/freebase/module/scripts/dialogs/extend-data-preview-dialog.js @@ -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" } }); });