mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 23:48:47 +00:00
[dir view] bugfix for img view with magnificPopup
This commit is contained in:
@@ -176,8 +176,6 @@ define([
|
|||||||
Common.updateSortIconByMode({'context': this.$el});
|
Common.updateSortIconByMode({'context': this.$el});
|
||||||
this.sortDirents();
|
this.sortDirents();
|
||||||
|
|
||||||
this.updateMagnificPopupOptions();
|
|
||||||
|
|
||||||
this.dir.last_start = 0;
|
this.dir.last_start = 0;
|
||||||
this.dir.limit = 100;
|
this.dir.limit = 100;
|
||||||
this.render_dirents_slice(this.dir.last_start, this.dir.limit);
|
this.render_dirents_slice(this.dir.last_start, this.dir.limit);
|
||||||
@@ -737,6 +735,8 @@ define([
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.dir.sort();
|
this.dir.sort();
|
||||||
|
|
||||||
|
this.updateMagnificPopupOptions();
|
||||||
},
|
},
|
||||||
|
|
||||||
sortByName: function() {
|
sortByName: function() {
|
||||||
|
Reference in New Issue
Block a user