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

На добавление значений (через быстрое меню) отключил остальную обработку эвента

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56500 954022d7-b5bf-4e40-9824-e11837661b57
parent f3ee9918
......@@ -176,15 +176,19 @@
var retVal = false;
switch (event.which) {
case 9: // Tab
if (this.isFormula)
if (this.isFormula) {
event.stopPropagation();
event.preventDefault();
this._onMouseDblClick();
else
} else
retVal = true;
break;
case 13: // "enter"
if (!this.isFormula && null !== this.selectElement)
if (!this.isFormula && null !== this.selectElement) {
event.stopPropagation();
event.preventDefault();
this._onInsert(this.selectElement.getAttribute("val"));
else
} else
retVal = true;
break;
case 27: // Esc
......
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