Fixed logs table, added spinner to logs refresh

This commit is contained in:
Mark McDowall
2013-11-11 14:31:33 -08:00
parent 4eecf3d1ab
commit 0747e53d4f
3 changed files with 15 additions and 7 deletions

View File

@@ -12,7 +12,8 @@ define(
'System/Logs/Files/ContentsView',
'System/Logs/Files/ContentsModel',
'Shared/Toolbar/ToolbarLayout',
'Shared/LoadingView'
'Shared/LoadingView',
'jQuery/jquery.spin'
], function (vent,
Marionette,
Backgrid,
@@ -141,7 +142,8 @@ define(
_refreshLogs: function () {
this.contents.close();
this.collection.fetch();
var promise = this.collection.fetch();
buttonContext.ui.icon.spinForPromise(promise);
},
_commandComplete: function (options) {