bugfix: order bug when editing a new entry that has been moved about

This commit is contained in:
Iam Naughton Phier 2014-08-07 01:31:18 +03:00
parent c5e51be5ba
commit af5c5c8e66
3 changed files with 5 additions and 1 deletions

View file

@ -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)
});

View file

@ -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.