Commit e8766110 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Добавил вызов контекстного меню для редактора ячейки - http://bugzserver/show_bug.cgi?id=27028

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58991 954022d7-b5bf-4e40-9824-e11837661b57
parent c1165a6f
......@@ -2040,6 +2040,10 @@
/** @param event {MouseEvent} */
CellEditor.prototype._onMouseUp = function (event) {
if (2 === event.button) {
this.handlers.trigger('onContextMenu', event);
return true;
}
this.isSelectMode = false;
return true;
};
......
......@@ -394,7 +394,8 @@
"popUpSelectorKeyDown" : function (event) {return self._onPopUpSelectorKeyDown(event);},
"getFormulaRanges" : function () {return self.getWorksheet().getFormulaRanges();},
"setStrictClose" : function (val) {self.controller.setStrictClose(val);},
"updateEditorSelectionInfo" : function (info) {self.handlers.trigger("asc_onEditorSelectionChanged", info);}
"updateEditorSelectionInfo" : function (info) {self.handlers.trigger("asc_onEditorSelectionChanged", info);},
"onContextMenu" : function (event) {self.handlers.trigger("asc_onContextMenu", event);}
},
/*settings*/{
font: this.defaultFont,
......
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