From 4fca33c5fc4fb619d28576cbcc58b1f4abb3da00 Mon Sep 17 00:00:00 2001 From: denise Date: Thu, 2 Aug 2012 12:59:00 -0400 Subject: [PATCH] CC-84: Smart Playlists - removed block from right side if it gets deleted from context menu --- airtime_mvc/public/js/airtime/library/library.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/public/js/airtime/library/library.js b/airtime_mvc/public/js/airtime/library/library.js index 1b262c709..cfd1be807 100644 --- a/airtime_mvc/public/js/airtime/library/library.js +++ b/airtime_mvc/public/js/airtime/library/library.js @@ -639,7 +639,7 @@ var AIRTIME = (function(AIRTIME) { //delete through the playlist controller, will reset //playlist screen if this is the currently edited playlist. - if (data.ftype === "playlist" && screen === "playlist") { + if ((data.ftype === "playlist" || data.ftype === "block") && screen === "playlist") { callback = function() { if (confirm('Are you sure you want to delete the selected item?')) {