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

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