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 @@ ...@@ -176,15 +176,19 @@
var retVal = false; var retVal = false;
switch (event.which) { switch (event.which) {
case 9: // Tab case 9: // Tab
if (this.isFormula) if (this.isFormula) {
event.stopPropagation();
event.preventDefault();
this._onMouseDblClick(); this._onMouseDblClick();
else } else
retVal = true; retVal = true;
break; break;
case 13: // "enter" 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")); this._onInsert(this.selectElement.getAttribute("val"));
else } else
retVal = true; retVal = true;
break; break;
case 27: // Esc 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