mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-30 11:41:19 +08:00
Fix duplication more than one cell at once for handsontables [SCI-9958] (#7010)
This commit is contained in:
parent
9d48cbbb86
commit
ebe2afc2e3
1 changed files with 5 additions and 5 deletions
|
@ -199,12 +199,12 @@
|
|||
var beforeAutofillInsidePopulate = function(index, direction, data, deltas, iterators, selected) {
|
||||
var instance = this;
|
||||
|
||||
var r = index.row,
|
||||
c = index.col,
|
||||
var rlength = data.length, // rows
|
||||
clength = data[0].length, //cols
|
||||
r = index.row % rlength,
|
||||
c = index.col % clength,
|
||||
value = data[r][c],
|
||||
delta = 0,
|
||||
rlength = data.length, // rows
|
||||
clength = data ? data[0].length : 0; //cols
|
||||
delta = 0;
|
||||
|
||||
if (value[0] === '=') { // formula
|
||||
|
||||
|
|
Loading…
Reference in a new issue