Fixed a bug in case the property is not defined. (thanks to Iain Sproat for the patch)

git-svn-id: http://google-refine.googlecode.com/svn/trunk@443 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-04-10 16:58:00 +00:00
parent 81fb2f1740
commit 73288c5e2a

View File

@ -240,7 +240,7 @@ ReconDialog.prototype._onDoHeuristic = function() {
var propertyInputs = $('input[name="recon-dialog-heuristic-property"]');
$.each(propertyInputs, function() {
var property = $(this).data("data.suggest");
if (property !== null) {
if (property && property.id) {
columnDetails.push({
column: this.getAttribute("columnName"),
property: {