Fix sub-folders changing position in the tree when renaming them

pull/1/head
yflory 8 years ago
parent 931f7619c0
commit 9a32fb1999

@ -1626,7 +1626,8 @@ define([
// Display root content
var $list = $('<ul>').appendTo($container);
Object.keys(root).forEach(function (key) {
var keys = Object.keys(root).sort();
keys.forEach(function (key) {
// Do not display files in the menu
if (filesOp.isFile(root[key])) { return; }
var newPath = path.slice();

Loading…
Cancel
Save