Fixed checkbox restore in custom tabular exporter dialog box when applying saved JSON

This commit is contained in:
Charles Pritchard 2013-06-17 11:41:57 -07:00 committed by Tom Morris
parent bad5bc37b2
commit 05389aa099

View File

@ -213,7 +213,7 @@ CustomTabularExporterDialog.prototype._configureUIFromOptionCode = function(opti
if (options.columns !== null) {
var self = this;
this._elmts.columnList.find('.custom-tabular-exporter-dialog-column input[type="checkbox"]').attr('checked', '');
this._elmts.columnList.find('.custom-tabular-exporter-dialog-column input[type="checkbox"]').attr('checked', false);
$.each(options.columns, function() {
var name = this.name;
self._columnOptionMap[name] = this;