Commit c1963a37 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50716 954022d7-b5bf-4e40-9824-e11837661b57
parent e365fbd2
......@@ -3220,7 +3220,18 @@ function CThumbnailsManager()
var pos = oThis.ConvertCoords(global_mouseEvent.X, global_mouseEvent.Y, true, true);
if (pos.Page == -1)
{
if (global_mouseEvent.Button == 2)
{
var _data = new CContextMenuData();
_data.Type = c_oAscContextMenuTypes.Thumbnails;
_data.X_abs = global_mouseEvent.X;
_data.Y_abs = global_mouseEvent.Y;
_data.IsSlideSelect = false;
oThis.m_oWordControl.m_oApi.sync_ContextMenuCallback(_data);
}
return false;
}
if (global_keyboardEvent.CtrlKey)
{
......@@ -4267,7 +4278,8 @@ function CThumbnailsManager()
}
break;
}
case 46:
case 46: // delete
case 8: // backspace
{
var _delete_array = this.GetSelectedArray();
......
......@@ -4735,11 +4735,13 @@ function CContextMenuData()
this.Type = c_oAscContextMenuTypes.Main;
this.X_abs = 0;
this.Y_abs = 0;
this.IsSlideSelect = true;
}
CContextMenuData.prototype.get_Type = function() { return this.Type; }
CContextMenuData.prototype.get_X = function() { return this.X_abs; }
CContextMenuData.prototype.get_Y = function() { return this.Y_abs; }
CContextMenuData.prototype.get_IsSlideSelect = function() { return this.IsSlideSelect; }
asc_docs_api.prototype.sync_ContextMenuCallback = function(Data)
{
......
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