|
|
@ -120,7 +120,10 @@ define(
|
|
|
|
_refreshLogs: function (buttonContext) {
|
|
|
|
_refreshLogs: function (buttonContext) {
|
|
|
|
this.collection.state.currentPage = 1;
|
|
|
|
this.collection.state.currentPage = 1;
|
|
|
|
var promise = this.collection.fetch({ reset: true });
|
|
|
|
var promise = this.collection.fetch({ reset: true });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (buttonContext) {
|
|
|
|
buttonContext.ui.icon.spinForPromise(promise);
|
|
|
|
buttonContext.ui.icon.spinForPromise(promise);
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
_commandComplete: function (options) {
|
|
|
|
_commandComplete: function (options) {
|
|
|
|