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

Не присылаем asc_onEditCell (End), если редактор ячейки не был открыт

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49675 954022d7-b5bf-4e40-9824-e11837661b57
parent bef1811d
......@@ -839,11 +839,14 @@
this.controller.setCellEditMode(false);
this.controller.setStrictClose(false);
this.controller.setFormulaEditMode(false);
this.getWorksheet().setCellEditMode(false);
this.getWorksheet().setFormulaEditMode(false);
this.getWorksheet().updateSelection();
var ws = this.getWorksheet();
var isCellEditMode = ws.getCellEditMode();
ws.setCellEditMode(false);
ws.setFormulaEditMode(false);
ws.updateSelection();
this.Api.lastFocused = null;
this.handlers.trigger("asc_onEditCell", c_oAscCellEditorState.editEnd);
if (isCellEditMode)
this.handlers.trigger("asc_onEditCell", c_oAscCellEditorState.editEnd);
// Обновляем состояние Undo/Redo
History._sendCanUndoRedo();
},
......
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