From 0abe663ec0b47ff006e157f19a4edf22837a3cca Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Wed, 18 Sep 2013 15:38:12 -0400 Subject: [PATCH] Fix some deprecated uses of attr(). Backward compatible to jQuery 1.6 --- .../dialogs/schema-alignment/ui-node.js | 2 +- .../scripts/index/importing-controller.js | 14 ++++++------- .../module/scripts/pc-axis-parser-ui.js | 6 +++--- .../parser-interfaces/excel-parser-ui.js | 16 +++++++-------- .../index/parser-interfaces/json-parser-ui.js | 6 +++--- .../parser-interfaces/line-based-parser-ui.js | 12 +++++------ .../separator-based-parser-ui.js | 20 +++++++++---------- .../index/parser-interfaces/xml-parser-ui.js | 10 +++++----- 8 files changed, 43 insertions(+), 43 deletions(-) diff --git a/extensions/freebase/module/scripts/dialogs/schema-alignment/ui-node.js b/extensions/freebase/module/scripts/dialogs/schema-alignment/ui-node.js index a0fb6f989..354ca3e7c 100644 --- a/extensions/freebase/module/scripts/dialogs/schema-alignment/ui-node.js +++ b/extensions/freebase/module/scripts/dialogs/schema-alignment/ui-node.js @@ -471,7 +471,7 @@ SchemaAlignmentDialog.UINode.prototype._showNodeConfigDialog = function() { }); if (column.name in columnMap) { - radio.attr("checked", "true"); + radio.prop("checked", true); } $('').text(column.name).appendTo(tr.insertCell(1)); diff --git a/extensions/gdata/module/scripts/index/importing-controller.js b/extensions/gdata/module/scripts/index/importing-controller.js index 870bdddd4..dda358354 100644 --- a/extensions/gdata/module/scripts/index/importing-controller.js +++ b/extensions/gdata/module/scripts/index/importing-controller.js @@ -246,7 +246,7 @@ Refine.GDataImportingController.prototype._showParsingPanel = function() { .attr('sheetUrl', this.link) .appendTo(td0); if (i === 0) { - checkbox.attr('checked', 'true'); + checkbox.prop("checked", true); } $('