Select cell after executing, not in loop

This commit is contained in:
Jessica B. Hamrick 2015-10-29 11:16:50 -07:00
parent a885f9195c
commit 6f1694d6b3

View File

@ -1992,10 +1992,11 @@ define(function (require) {
var cell; var cell;
for (var i = 0; i < indices.length; i++) { for (var i = 0; i < indices.length; i++) {
this.select(indices[i]);
cell = this.get_cell(indices[i]); cell = this.get_cell(indices[i]);
cell.execute(); cell.execute();
} }
this.select(indices[indices.length - 1]);
}; };
/** /**