bugfix: order bug when editing a new entry that has been moved about
This commit is contained in:
parent
c5e51be5ba
commit
af5c5c8e66
3 changed files with 5 additions and 1 deletions
|
|
@ -206,7 +206,8 @@
|
|||
name = _ref2[_k];
|
||||
console.log(name.author, name.name, name.file);
|
||||
}
|
||||
return console.log('---');
|
||||
console.log('---');
|
||||
return _this.buildlist(_this.data);
|
||||
};
|
||||
})(this)
|
||||
});
|
||||
|
|
|
|||
|
|
@ -186,6 +186,7 @@ does not alter the array. Alternately, _have_ it alter the array.
|
|||
@data.filedata = @.rearrangearray s,e,@data.filedata
|
||||
console.log name.author,name.name,name.file for name in @data.filedata
|
||||
console.log '---'
|
||||
@buildlist @data
|
||||
|
||||
Given a start and and end position, pop the array element at start off and
|
||||
insert it into the array at end position. A la the draggon-dropping.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue