mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-01 08:22:35 +01:00
22 lines
537 B
JavaScript
22 lines
537 B
JavaScript
"use strict";
|
|
|
|
define(
|
|
[
|
|
'app',
|
|
'Settings/SettingsModelBase'
|
|
], function (App, ModelBase) {
|
|
return ModelBase.extend({
|
|
|
|
baseInitialize: ModelBase.prototype.initialize,
|
|
|
|
initialize: function () {
|
|
var name = this.get('name');
|
|
|
|
this.successMessage = 'Saved ' + name + ' size settings';
|
|
this.errorMessage = 'Couldn\'t save ' + name + ' size settings';
|
|
|
|
this.baseInitialize.call(this);
|
|
}
|
|
});
|
|
});
|