From 0fa99d21cab6edf83360182fcf46cb4153e22c83 Mon Sep 17 00:00:00 2001 From: David Huynh Date: Tue, 26 Jul 2011 18:59:01 +0000 Subject: [PATCH] More fix to issue 366, and removed a console.log debug statement git-svn-id: http://google-refine.googlecode.com/svn/trunk@2169 7d457c2a-affb-35e4-300a-418c747d4874 --- .../module/scripts/dialogs/extend-data-preview-dialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 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 282a5ddba..03bc8cfb2 100644 --- a/extensions/freebase/module/scripts/dialogs/extend-data-preview-dialog.js +++ b/extensions/freebase/module/scripts/dialogs/extend-data-preview-dialog.js @@ -59,7 +59,7 @@ function ExtendDataPreviewDialog(column, columnIndex, rowIndices, onDone) { DialogSystem.dismissUntil(self._level - 1); }); - var dismissBusy = DialogSystem.showBusy();console.log(column.reconConfig) + var dismissBusy = DialogSystem.showBusy(); var type = (column.reconConfig) && (column.reconConfig.type) ? column.reconConfig.type.id : "/common/topic"; ExtendDataPreviewDialog.getAllProperties(type, function(properties) { @@ -141,7 +141,7 @@ ExtendDataPreviewDialog.prototype._show = function(properties) { var suggestConfig = { type: '/type/property' }; - if ("reconConfig" in this._column && "type" in this._column.reconConfig) { + if ((this._column.reconConfig) && (this._column.reconConfig.type)) { suggestConfig.ac_param = { schema: this._column.reconConfig.type.id }; }