mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 16:10:26 +00:00
[dir view] '.repo-op' UI: bugfix
This commit is contained in:
@@ -176,7 +176,6 @@ define([
|
|||||||
this.$el_con.show();
|
this.$el_con.show();
|
||||||
|
|
||||||
this.setFileInput();
|
this.setFileInput();
|
||||||
this.updateDirOpBarUI(); // should be after `setFileInput()`
|
|
||||||
|
|
||||||
// there may be a 'style' added via 'onWindowScroll()' when visiting last dir
|
// there may be a 'style' added via 'onWindowScroll()' when visiting last dir
|
||||||
this.$('.js-dir-content').removeAttr('style');
|
this.$('.js-dir-content').removeAttr('style');
|
||||||
@@ -206,6 +205,8 @@ define([
|
|||||||
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);
|
||||||
|
|
||||||
|
this.updateDirOpBarUI(); // after `render_dirents_slice`
|
||||||
|
|
||||||
this.getImageThumbnail();
|
this.getImageThumbnail();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user