Added loading to recent folder list

This commit is contained in:
Mark McDowall committed 2013-08-20 23:50:37 -07:00
1 parent 040bfb08ce
commit df1cb91a84
3 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ define(
SeriesCollection.fetch();
QualityProfileCollection.fetch();
RootFolderCollection.fetch();
RootFolderCollection.promise = RootFolderCollection.fetch();
},
onShow: function () {
+5 -1
View File
@@ -32,8 +32,12 @@ define(
},
onRender: function () {
var self = this;
RootFolderCollection.promise.done(function () {
self.currentDirs.show(self.rootfolderListView);
});
this.currentDirs.show(this.rootfolderListView);
this.ui.pathInput.autoComplete('/directories');
},
+1 -1
View File
@@ -11,7 +11,7 @@
{{#if items}}
<h4>Recent Folders</h4>
{{/if}}
<div id="current-dirs" class="root-folders-list"></div>
<div id="current-dirs" class="root-folders-list">loading ...</div>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal">close</button>