Commit dcb1d507 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

правка для copy/paste MAC

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50927 954022d7-b5bf-4e40-9824-e11837661b57
parent f2315bc9
......@@ -2798,8 +2798,9 @@ function Editor_CopyPaste_Create(api)
};
ElemToSelect["onbeforecopy"] = function(e){
if(!api.isCellEdited)
api.wb.clipboard.copyRange(api.wb.getWorksheet().getSelectedRange(), api.wb.getWorksheet());
var ws = api.wb.getWorksheet();
if(!ws.isCellEditMode)
api.wb.clipboard.copyRange(ws.getSelectedRange(), ws);
};
ElemToSelect["onbeforecut"] = function(e){
......
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