From b5d3e6d833ae8ab6172bf7c97d9c89b6b7a840b1 Mon Sep 17 00:00:00 2001 From: Naomi Date: Tue, 8 Apr 2014 18:01:15 -0400 Subject: [PATCH] CC-5789 : Builder Cleanup no need for this dialog check, put the buttons on all the time. --- airtime_mvc/public/js/airtime/showbuilder/builder.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/airtime_mvc/public/js/airtime/showbuilder/builder.js b/airtime_mvc/public/js/airtime/showbuilder/builder.js index 09e71b524..827aa81fe 100644 --- a/airtime_mvc/public/js/airtime/showbuilder/builder.js +++ b/airtime_mvc/public/js/airtime/showbuilder/builder.js @@ -944,7 +944,7 @@ var AIRTIME = (function(AIRTIME){ //start setup of the builder toolbar. $toolbar = $(".sb-content .fg-toolbar"); - $menu = $("
"); + var $menu = $("
"); $menu.append("
" + "
"); - //if 'Add/Remove content' was chosen from the context menu - //in the Calendar do not append these buttons - if ($(".ui-dialog-content").length === 0) { $menu.append("
" + "
") .append("
" + "
"); - } $toolbar.append($menu); - $menu = undefined; - + $('#timeline-sa').click(mod.selectAll); $('#timeline-sn').click(mod.selectNone);