Commit 17c23234 authored by Alexander.Trofimov's avatar Alexander.Trofimov

disable paste data in view mode

parent 4a26c258
......@@ -484,7 +484,9 @@ var editor;
};
spreadsheet_api.prototype.asc_PasteData = function (_format, data1, data2) {
this.wb.pasteData(_format, data1, data2);
if (!this.getViewMode()) {
this.wb.pasteData(_format, data1, data2);
}
};
spreadsheet_api.prototype.asc_CheckCopy = function (_clipboard /* CClipboardData */, _formats) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment