Commit b323faa3 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51077 954022d7-b5bf-4e40-9824-e11837661b57
parent 7b4192f6
......@@ -400,7 +400,7 @@ function NullState(drawingObjectsController, drawingObjects)
this.onKeyPress = function(e)
{
if(!(event.metaKey && window.USER_AGENT_SAFARI_MACOS))
if(!(e.metaKey && window.USER_AGENT_SAFARI_MACOS))
{
var selected_objects = this.drawingObjectsController.selectedObjects;
if(selected_objects.length === 1 && selected_objects[0].isShape())
......@@ -1470,7 +1470,7 @@ function ChartTextAdd(drawingObjectsController, drawingObjects, chart, textObjec
this.onKeyPress = function(e)
{
if(!(event.metaKey && window.USER_AGENT_SAFARI_MACOS))
if(!(e.metaKey && window.USER_AGENT_SAFARI_MACOS))
{
//var worksheet = this.drawingObjects.getWorksheet();
//worksheet.collaborativeEditing.onStartCheckLock();
......@@ -3031,7 +3031,7 @@ function GroupState(drawingObjectsController, drawingObjects, group)
this.onKeyPress = function(e)
{
if(!(event.metaKey && window.USER_AGENT_SAFARI_MACOS))
if(!(e.metaKey && window.USER_AGENT_SAFARI_MACOS))
{
var selected_objects = this.group.selectedObjects;
if(selected_objects.length === 1 && selected_objects[0].isShape())
......@@ -3232,7 +3232,7 @@ function TextAddInGroup(drawingObjectsController, drawingObjects, group, textObj
this.onKeyPress = function(e)
{
if(!(event.metaKey && window.USER_AGENT_SAFARI_MACOS))
if(!(e.metaKey && window.USER_AGENT_SAFARI_MACOS))
{
var isViewMode = this.drawingObjectsController.drawingObjects.isViewerMode();
......
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