').append('');
- $.each(data.Files, function () {
- var item = this;
- var $tr = $('
');
- var $td = $(' | ')
- $('').append(item.Name).click(function() {
- document.location = '/' + owner + '/' + npath + '/' + item.Name
- }).appendTo($td);
- $td.appendTo($tr);
- $('' + item.Size + ' | ').appendTo($tr);
- $('' + item.LastModified + ' | ').appendTo($tr);
- $tr.appendTo($ftable)
- });
- $ftable.appendTo($view);
- })
- };
+ if (path) $.each(path.split('/'), function () {
+ var part = this;
+ if (npath) npath = npath + '/' + part;
+ else npath = part;
+ $('