Commit 2294b375 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Fix Bug 21556 - [Charts] Отключить обработку некоторых горячих клавиш в окне фрейма с диаграммой

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51042 954022d7-b5bf-4e40-9824-e11837661b57
parent 69135483
...@@ -1324,6 +1324,11 @@ ...@@ -1324,6 +1324,11 @@
var t = this, ws, v; var t = this, ws, v;
if (!t.controller.isCellEditMode && !window.USER_AGENT_SAFARI_MACOS) { if (!t.controller.isCellEditMode && !window.USER_AGENT_SAFARI_MACOS) {
ws = t.getWorksheet(); ws = t.getWorksheet();
// Запрещаем копирование диаграмм в iframe
if ( t.Api.isChartEditor && ws.objectRender.selectedGraphicObjectsExists() )
return;
t.clipboard.copyRange(ws.getSelectedRange(), ws, true); t.clipboard.copyRange(ws.getSelectedRange(), ws, true);
ws.setSelectionInfo("empty", c_oAscCleanOptions.All); ws.setSelectionInfo("empty", c_oAscCleanOptions.All);
} else if(!window.USER_AGENT_SAFARI_MACOS){ } else if(!window.USER_AGENT_SAFARI_MACOS){
......
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