Keep the scroll position on redraw in drive

pull/1/head
yflory 8 years ago
parent 0607c3bbf3
commit 931f7619c0

@ -1433,6 +1433,7 @@ define([
}
appStatus.ready(false);
currentPath = path;
var s = $content.scrollTop() || 0;
$content.html("");
if (!path || path.length === 0) {
path = [ROOT];
@ -1539,6 +1540,7 @@ define([
}
//$content.append($toolbar).append($title).append($info).append($dirContent);
$content.append($info).append($dirContent);
$content.scrollTop(s);
appStatus.ready(true);
};

Loading…
Cancel
Save