|
|
@ -18,11 +18,6 @@ define([
|
|
|
|
'click .x-add': 'addSeries'
|
|
|
|
'click .x-add': 'addSeries'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
initialize: function () {
|
|
|
|
|
|
|
|
this.model.set('isExisting', true);
|
|
|
|
|
|
|
|
this.model.set('id', undefined);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addSeries: function () {
|
|
|
|
addSeries: function () {
|
|
|
|
var icon = this.ui.addButton.find('icon');
|
|
|
|
var icon = this.ui.addButton.find('icon');
|
|
|
|
icon.removeClass('icon-plus').addClass('icon-spin icon-spinner disabled');
|
|
|
|
icon.removeClass('icon-plus').addClass('icon-spin icon-spinner disabled');
|
|
|
|