Commit 53ec4a91 authored by Alexey.Musinov's avatar Alexey.Musinov

[mobile] locked cells

parent aafef003
...@@ -5526,10 +5526,21 @@ function offline_cell_editor_open(x, y, width, height, ratio, isSelectAll, isFor ...@@ -5526,10 +5526,21 @@ function offline_cell_editor_open(x, y, width, height, ratio, isSelectAll, isFor
ws.visibleRange.r2 = r2; ws.visibleRange.r2 = r2;
wb.cellEditor.isSelectAll = isSelectAll; wb.cellEditor.isSelectAll = isSelectAll;
var canEditCell = false;
if (ws._isLockedCells(ws.getActiveCell(0, 0, false), false)) {
canEditCell = true;
if (!isFormulaInsertMode) { if (!isFormulaInsertMode) {
wb._onEditCell(undefined, undefined, true, false); wb._onEditCell(undefined, undefined, true, false);
} }
}
ws.visibleRange = range; ws.visibleRange = range;
return canEditCell;
} }
function offline_cell_editor_process_input_commands(commands, width, height, ratio) { function offline_cell_editor_process_input_commands(commands, width, height, ratio) {
_null_object.width = width * ratio; _null_object.width = width * ratio;
......
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