1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 18:42:42 +01:00
Radarr/UI/Settings/Indexers/Model.js

18 lines
442 B
JavaScript
Raw Normal View History

2013-06-22 08:24:24 +02:00
'use strict';
2013-06-19 03:02:23 +02:00
define([
'Settings/SettingsModelBase'], function (ModelBase) {
return ModelBase.extend({
baseInitialize: ModelBase.prototype.initialize,
2013-06-19 03:02:23 +02:00
initialize: function () {
var name = this.get('name');
this.successMessage = 'Saved indexer: ' + name;
this.errorMessage = 'Couldn\'t save indexer: ' + name;
this.baseInitialize.call(this);
}
});
2013-05-01 02:01:54 +02:00
});