Toolbar/Actioneer callback cleanup

This commit is contained in:
Mark McDowall 2013-08-08 00:38:14 -07:00
commit cdf34d5676
8 changed files with 22 additions and 23 deletions

View file

@ -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
});
},

View file

@ -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
});
},