From 2ba743a436b24ca6dd78e981e87269db5830997a Mon Sep 17 00:00:00 2001 From: Naomi Date: Mon, 13 May 2013 12:23:05 -0400 Subject: [PATCH] CC-5132 : Playlist Editor: Add file before Smart Block will cause exception --- .../views/scripts/playlist/set-fade.phtml | 2 +- .../views/scripts/playlist/update.phtml | 35 +++++++++++++------ 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/airtime_mvc/application/views/scripts/playlist/set-fade.phtml b/airtime_mvc/application/views/scripts/playlist/set-fade.phtml index 510ed441e..1bd1a74f6 100644 --- a/airtime_mvc/application/views/scripts/playlist/set-fade.phtml +++ b/airtime_mvc/application/views/scripts/playlist/set-fade.phtml @@ -11,7 +11,7 @@
item2Type == 0) {?> + if (isset($this->item2Url)) {?>
isStatic(); @@ -87,21 +88,33 @@ if (($i < count($items) -1) && ($items[$i+1]['type'] == 0)) { if(($i < count($items) -1) && !($items[$i]['type'] == 2 && $items[$i+1]['type'])): ?>