mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Toolbar/Actioneer callback cleanup
This commit is contained in:
parent
1df9c49c46
commit
cdf34d5676
8 changed files with 22 additions and 23 deletions
|
@ -115,9 +115,9 @@ define(
|
|||
this.model.set(name, !this.model.get(name));
|
||||
|
||||
Actioneer.SaveModel({
|
||||
context : this,
|
||||
element : this.ui.seasonMonitored,
|
||||
alwaysCallback: this._afterSeasonMonitored
|
||||
context: this,
|
||||
element: this.ui.seasonMonitored,
|
||||
always : this._afterSeasonMonitored
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -82,9 +82,9 @@ define(
|
|||
this.model.set(name, !this.model.get(name), { silent: true });
|
||||
|
||||
Actioneer.SaveModel({
|
||||
context : this,
|
||||
element : this.ui.monitored,
|
||||
alwaysCallback: this._setMonitoredState()
|
||||
context: this,
|
||||
element: this.ui.monitored,
|
||||
always : this._setMonitoredState()
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -116,7 +116,7 @@ define(
|
|||
element : this.ui.refresh,
|
||||
leaveIcon : true,
|
||||
context: this,
|
||||
successCallback: this._showSeasons
|
||||
onSuccess: this._showSeasons
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue