1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-03-08 21:04:49 +00:00
Sonarr/UI/Settings/Indexers/Model.js

18 lines
442 B
JavaScript
Raw Normal View History

2013-06-21 23:24:24 -07:00
'use strict';
2013-06-18 18:02:23 -07:00
define([
'Settings/SettingsModelBase'], function (ModelBase) {
return ModelBase.extend({
baseInitialize: ModelBase.prototype.initialize,
2013-06-18 18:02:23 -07: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-04-30 17:01:54 -07:00
});