|
|
@ -16,8 +16,8 @@ define(['app',
|
|
|
|
'click .x-add-card': '_addProfile'
|
|
|
|
'click .x-add-card': '_addProfile'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
onAfterItemAdded: function () {
|
|
|
|
onRender: function () {
|
|
|
|
this.$itemViewContainer.find('.x-add-card').parent('li').remove();
|
|
|
|
this.listenTo(this.collection, 'add', this.render);
|
|
|
|
|
|
|
|
|
|
|
|
this.templateFunction = Marionette.TemplateCache.get('Settings/Quality/Profile/AddCardTemplate');
|
|
|
|
this.templateFunction = Marionette.TemplateCache.get('Settings/Quality/Profile/AddCardTemplate');
|
|
|
|
var html = this.templateFunction();
|
|
|
|
var html = this.templateFunction();
|
|
|
|