mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 17:59:14 +00:00
17 lines
442 B
JavaScript
17 lines
442 B
JavaScript
'use strict';
|
|
define([
|
|
'Settings/SettingsModelBase'], function (ModelBase) {
|
|
return ModelBase.extend({
|
|
|
|
baseInitialize: ModelBase.prototype.initialize,
|
|
|
|
initialize: function () {
|
|
var name = this.get('name');
|
|
|
|
this.successMessage = 'Saved indexer: ' + name;
|
|
this.errorMessage = 'Couldn\'t save indexer: ' + name;
|
|
|
|
this.baseInitialize.call(this);
|
|
}
|
|
});
|
|
});
|