mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-18 23:48:35 +02:00
21 lines
531 B
JavaScript
21 lines
531 B
JavaScript
'use strict';
|
|
|
|
define(
|
|
[
|
|
'Settings/SettingsModelBase'
|
|
], function (ModelBase) {
|
|
return ModelBase.extend({
|
|
|
|
baseInitialize: ModelBase.prototype.initialize,
|
|
|
|
initialize: function () {
|
|
var name = this.get('quality').name;
|
|
|
|
this.successMessage = 'Saved ' + name + ' quality settings';
|
|
this.errorMessage = 'Couldn\'t save ' + name + ' quality settings';
|
|
|
|
this.baseInitialize.call(this);
|
|
}
|
|
});
|
|
});
|