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
This commit is contained in:
parent
58a677bc99
commit
0fa99d21ca
@ -59,7 +59,7 @@ function ExtendDataPreviewDialog(column, columnIndex, rowIndices, onDone) {
|
|||||||
DialogSystem.dismissUntil(self._level - 1);
|
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";
|
var type = (column.reconConfig) && (column.reconConfig.type) ? column.reconConfig.type.id : "/common/topic";
|
||||||
|
|
||||||
ExtendDataPreviewDialog.getAllProperties(type, function(properties) {
|
ExtendDataPreviewDialog.getAllProperties(type, function(properties) {
|
||||||
@ -141,7 +141,7 @@ ExtendDataPreviewDialog.prototype._show = function(properties) {
|
|||||||
var suggestConfig = {
|
var suggestConfig = {
|
||||||
type: '/type/property'
|
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 };
|
suggestConfig.ac_param = { schema: this._column.reconConfig.type.id };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user