Reverse order of fill down operation
This commit is contained in:
parent
d7d4731f80
commit
a19f859d2e
@ -875,11 +875,11 @@ DataTableView.prototype._createSortingMenu = function(elmt) {
|
||||
};
|
||||
|
||||
var doAllFillDown = function() {
|
||||
doFillDown(0);
|
||||
doFillDown(theProject.columnModel.columns.length - 1);
|
||||
};
|
||||
|
||||
var doFillDown = function(colIndex) {
|
||||
if (colIndex < theProject.columnModel.columns.length) {
|
||||
if (colIndex >= 0) {
|
||||
Refine.postCoreProcess(
|
||||
"fill-down",
|
||||
{
|
||||
@ -889,7 +889,7 @@ var doFillDown = function(colIndex) {
|
||||
{modelsChanged: true},
|
||||
{
|
||||
onDone: function() {
|
||||
doFillDown(++colIndex);
|
||||
doFillDown(--colIndex);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user