Skip to content
Snippets Groups Projects
Commit e6483bfe authored by juanf's avatar juanf
Browse files

SSDM-3732 : Warning

SVN: 36710
parent 28b6c9ea
No related branches found
No related tags found
No related merge requests found
...@@ -310,6 +310,16 @@ $.extend(Grid.prototype, { ...@@ -310,6 +310,16 @@ $.extend(Grid.prototype, {
}, },
exportTSV : function(isAllRowsOrVisible, isAllColumnsOrVisible, plainText) { exportTSV : function(isAllRowsOrVisible, isAllColumnsOrVisible, plainText) {
var _this = this;
if(plainText) {
Util.showWarning("<b>Don't use this file for imports</b><br>Do understand that you are importing the data removing the rich text format. If you use this file to import data back, you will be removing the rich text format on the database!", function() {
_this.exportTSVB(isAllRowsOrVisible, isAllColumnsOrVisible, plainText);
});
} else {
_this.exportTSVB(isAllRowsOrVisible, isAllColumnsOrVisible, plainText);
}
},
exportTSVB : function(isAllRowsOrVisible, isAllColumnsOrVisible, plainText) {
var thisGrid = this; var thisGrid = this;
var exportColumnsFromData = function(namePrefix, data, headings) { var exportColumnsFromData = function(namePrefix, data, headings) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment