From b010c59ff59ccd7041e2e0925678d6427c94c039 Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Wed, 13 Aug 2014 23:02:43 +0100 Subject: [PATCH] Delete playlist implemented --- static/js/dss/apps/playlist/views/playListItemView.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/dss/apps/playlist/views/playListItemView.coffee b/static/js/dss/apps/playlist/views/playListItemView.coffee index 88d3409..2850546 100644 --- a/static/js/dss/apps/playlist/views/playListItemView.coffee +++ b/static/js/dss/apps/playlist/views/playListItemView.coffee @@ -29,10 +29,12 @@ @render() - onDeletePlaylist: -> + onDeletePlaylist: (e) -> utils.messageBox "/dlg/DeletePlaylistConfirm", => @model.destroy() + e.stopPropagation() + setContained: (contained)=> @ui.mixExistsIndicator.prop('checked', contained)