2013-06-22 06:24:24 +00:00
|
|
|
|
'use strict';
|
2013-06-19 01:02:23 +00:00
|
|
|
|
define([
|
2013-06-19 04:27:41 +00:00
|
|
|
|
'Settings/SettingsModelBase'], function (ModelBase) {
|
|
|
|
|
return ModelBase.extend({
|
|
|
|
|
|
2013-07-01 04:24:46 +00:00
|
|
|
|
baseInitialize: ModelBase.prototype.initialize,
|
2013-06-19 01:02:23 +00:00
|
|
|
|
|
2013-07-01 04:24:46 +00: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-06-19 04:27:41 +00:00
|
|
|
|
});
|
2013-05-01 00:01:54 +00:00
|
|
|
|
});
|