Commit 41cc3fe5 authored by Alexander.Trofimov's avatar Alexander.Trofimov

delete unused checks

parent 735b3a81
......@@ -1257,17 +1257,8 @@
var editFunction = function() {
t.setCellEditMode(true);
ws.setCellEditMode(true);
if (!ws.openCellEditor(t.cellEditor, /*fragments*/undefined, /*cursorPos*/undefined, isFocus, isClearCell, /*isHideCursor*/isHideCursor, /*isQuickInput*/isQuickInput, /*activeRange*/arn)) {
t.setCellEditMode(false);
t.controller.setStrictClose(false);
t.controller.setFormulaEditMode(false);
ws.setCellEditMode(false);
ws.setFormulaEditMode(false);
t.input.disabled = true;
asc_applyFunction(callback, false);
return;
}
ws.openCellEditor(t.cellEditor, /*fragments*/undefined, /*cursorPos*/undefined, isFocus, isClearCell,
/*isHideCursor*/isHideCursor, /*isQuickInput*/isQuickInput, /*activeRange*/arn);
t.input.disabled = false;
t.handlers.trigger("asc_onEditCell", c_oAscCellEditorState.editStart);
......
......@@ -11437,18 +11437,11 @@
// Возможно стоит заменить на ячейку из кеша
c = this._getVisibleCell( col, row );
if ( !c ) {
throw "Can not get cell data (col=" + col + ", row=" + row + ")";
}
fl = this._getCellFlags( c );
isMerged = fl.isMerged();
if ( isMerged ) {
mc = fl.merged;
c = this._getVisibleCell( mc.c1, mc.r1 );
if ( !c ) {
throw "Can not get merged cell data (col=" + mc.c1 + ", row=" + mc.r1 + ")";
}
fl = this._getCellFlags( c );
}
......
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