Indexers add card

This commit is contained in:
Mark McDowall 2013-07-26 00:19:44 -07:00
parent 4f1b27a523
commit 6522b38584
6 changed files with 38 additions and 11 deletions

View file

@ -17,7 +17,7 @@ define(['app',
},
onAfterItemAdded: function () {
this.$itemViewContainer.find('.x-add-card').remove();
this.$itemViewContainer.find('.x-add-card').parent('li').remove();
this.templateFunction = Marionette.TemplateCache.get('Settings/Quality/Profile/AddCardTemplate');
var html = this.templateFunction();