You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
537 B
22 lines
537 B
"use strict";
|
|
|
|
define(
|
|
[
|
|
'app',
|
|
'Settings/SettingsModelBase'
|
|
], function (App, ModelBase) {
|
|
return ModelBase.extend({
|
|
|
|
baseInitialize: ModelBase.prototype.initialize,
|
|
|
|
initialize: function () {
|
|
var name = this.get('name');
|
|
|
|
this.successMessage = 'Saved ' + name + ' size settings';
|
|
this.errorMessage = 'Couldn\'t save ' + name + ' size settings';
|
|
|
|
this.baseInitialize.call(this);
|
|
}
|
|
});
|
|
});
|