diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/lib/grid/js/Grid.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/lib/grid/js/Grid.js
index 9ff4aa5ede6be80cb66dcf32260901a46315519b..6c69aaf63c35f433322d502997e90d911864c2aa 100644
--- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/lib/grid/js/Grid.js
+++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/lib/grid/js/Grid.js
@@ -316,13 +316,12 @@ $.extend(Grid.prototype, {
 			var dontShowAnymore = "<input type='checkbox' id='disablePlanTextExportWarning'> Don't show this warning again.";
 			
 			Util.showWarning("<b>DO NOT USE THIS FILE FOR BATCH UPDATE!</b><br>This file does not contain rich text format. If used for Batch Update, all rich text format in the updated entries will be lost!<br><br>" + dontShowAnymore, function() {
-				_this.exportTSVB(isAllRowsOrVisible, isAllColumnsOrVisible, plainText);
-				
-				var isSelected = $("#disablePlanTextExportWarning").val() === "on";
+				var isSelected = $("#disablePlanTextExportWarning")[0].checked;
 				if(_this.onChangeState) {
 					_this.tableSettings.disablePlanTextExportWarning = isSelected;
 					_this.onChangeState(_this.tableSettings);
 				}
+				_this.exportTSVB(isAllRowsOrVisible, isAllColumnsOrVisible, plainText);
 			});
 		} else {
 			_this.exportTSVB(isAllRowsOrVisible, isAllColumnsOrVisible, plainText);