Commit 5626d169 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 33198

parent 806d74f9
......@@ -11109,12 +11109,12 @@
WorksheetView.prototype.openCellEditorWithText = function (editor, text, cursorPos, isFocus, selectionRange) {
var t = this;
selectionRange = (selectionRange) ? selectionRange : this.model.selectionRange;
var cell = selectionRange.cell;
var c = t._getVisibleCell(cell.col, cell.row);
var activeCell = selectionRange.activeCell;
var c = t._getVisibleCell(activeCell.col, activeCell.row);
var v, copyValue;
if (!c) {
throw "Can not get cell data (col=" + cell.col + ", row=" + cell.row + ")";
throw "Can not get cell data (col=" + activeCell.col + ", row=" + activeCell.row + ")";
}
// get first fragment and change its text
......
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