FIXED - task 597: Deselect all button on Custom Tabular Exporter dialog doesn't work

http://code.google.com/p/google-refine/issues/detail?id=597

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2521 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2012-08-03 22:11:51 +00:00
parent b2ae74d23f
commit cdaf60c20b

View File

@ -173,11 +173,11 @@ CustomTabularExporterDialog.prototype._createDialog = function(options) {
self._updateOptionCode();
});
this._elmts.selectAllButton.click(function() {
self._elmts.columnList.find('input[type="checkbox"]').attr('checked', 'checked');
self._elmts.columnList.find('input[type="checkbox"]').attr('checked', true);
self._updateOptionCode();
});
this._elmts.deselectAllButton.click(function() {
self._elmts.columnList.find('input[type="checkbox"]').attr('checked', '');
self._elmts.columnList.find('input[type="checkbox"]').attr('checked', false);
self._updateOptionCode();
});