Add a container for the folders in the tree in the drive

pull/1/head
yflory 8 years ago
parent f130fd0598
commit a2b5200381

@ -1489,9 +1489,11 @@ define([
if (collapsable) {
$collapse = $expandIcon.clone();
}
var $element = $('<li>').append($collapse).append($icon).append($name).click(function (e) {
var $elementRow = $('<span>', {'class': 'element-row'}).append($collapse).append($icon).append($name).click(function (e) {
e.stopPropagation();
module.displayDirectory(path);
});
var $element = $('<li>').append($elementRow);
if (draggable) { $element.attr('draggable', true); }
if (collapsable) {
$element.addClass('collapsed');

Loading…
Cancel
Save