mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 08:33:58 -07:00
Updating manually now uses a command so it shows progress
This commit is contained in:
parent
e7780af212
commit
aa26d68f18
5 changed files with 24 additions and 15 deletions
|
@ -2,8 +2,9 @@
|
|||
|
||||
define(
|
||||
[
|
||||
'marionette'
|
||||
], function (Marionette) {
|
||||
'marionette',
|
||||
'Commands/CommandController'
|
||||
], function (Marionette, CommandController) {
|
||||
return Marionette.ItemView.extend({
|
||||
template: 'System/Update/UpdateItemViewTemplate',
|
||||
|
||||
|
@ -12,7 +13,7 @@ define(
|
|||
},
|
||||
|
||||
_installUpdate: function () {
|
||||
this.model.save();
|
||||
CommandController.Execute('installUpdate', { updatePackage: this.model.toJSON() });
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue