mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 18:17:13 +00:00
Added loading to recent folder list
This commit is contained in:
parent
040bfb08ce
commit
df1cb91a84
3 changed files with 7 additions and 3 deletions
|
@ -38,7 +38,7 @@ define(
|
||||||
|
|
||||||
SeriesCollection.fetch();
|
SeriesCollection.fetch();
|
||||||
QualityProfileCollection.fetch();
|
QualityProfileCollection.fetch();
|
||||||
RootFolderCollection.fetch();
|
RootFolderCollection.promise = RootFolderCollection.fetch();
|
||||||
},
|
},
|
||||||
|
|
||||||
onShow: function () {
|
onShow: function () {
|
||||||
|
|
|
@ -32,8 +32,12 @@ define(
|
||||||
},
|
},
|
||||||
|
|
||||||
onRender: function () {
|
onRender: function () {
|
||||||
|
var self = this;
|
||||||
|
|
||||||
|
RootFolderCollection.promise.done(function () {
|
||||||
|
self.currentDirs.show(self.rootfolderListView);
|
||||||
|
});
|
||||||
|
|
||||||
this.currentDirs.show(this.rootfolderListView);
|
|
||||||
this.ui.pathInput.autoComplete('/directories');
|
this.ui.pathInput.autoComplete('/directories');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
{{#if items}}
|
{{#if items}}
|
||||||
<h4>Recent Folders</h4>
|
<h4>Recent Folders</h4>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div id="current-dirs" class="root-folders-list"></div>
|
<div id="current-dirs" class="root-folders-list">loading ...</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button class="btn" data-dismiss="modal">close</button>
|
<button class="btn" data-dismiss="modal">close</button>
|
||||||
|
|
Loading…
Reference in a new issue