Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit df8b74b

Browse files
author
Tankred Hase
committed
Load bodies when changing folder without scrolling
1 parent fa1fbda commit df8b74b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/js/controller/mail-list.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,13 @@ define(function(require) {
204204
emailDao.openFolder({
205205
folder: currentFolder()
206206
}, function(error) {
207+
// dont wait until scroll to load visible mail bodies
208+
$scope.loadVisibleBodies();
209+
210+
// don't display error for offline case
207211
if (error && error.code === 42) {
208212
return;
209213
}
210-
211214
$scope.onError(error);
212215
});
213216
}

0 commit comments

Comments
 (0)