aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/oc-dialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index 9cd806720b8..fae6536e480 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -847,7 +847,7 @@ var OCdialogs = {
} else if(a.type !== 'dir' && b.type === 'dir') {
return 1;
} else {
- return 0;
+ return -(a.mtime - b.mtime);
}
});