From d7819b6dd2aa3f133cfb128fe6f04785f148f907 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 26 Mar 2012 17:21:13 -0400 Subject: [PATCH] CC-3489: Live Stream: When Custom Auth check box is checked, Custom Username and Custom Password field must be required - fixed spacing --- .../public/js/airtime/schedule/add-show.js | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/airtime_mvc/public/js/airtime/schedule/add-show.js b/airtime_mvc/public/js/airtime/schedule/add-show.js index 5890b0ccf..679f3d11b 100644 --- a/airtime_mvc/public/js/airtime/schedule/add-show.js +++ b/airtime_mvc/public/js/airtime/schedule/add-show.js @@ -401,21 +401,20 @@ function setAddShowEvents() { // calculate duration calculateDuration(endDateTime, startDateTime); }); - - - if($('#cb_custom_auth').attr('checked')){ + + if($('#cb_custom_auth').attr('checked')){ $('#custom_auth_div').show() }else{ $('#custom_auth_div').hide() } - - $('#cb_custom_auth').change(function(){ - if($(this).attr('checked')){ - $('#custom_auth_div').show() - }else{ - $('#custom_auth_div').hide() - } - }) + + $('#cb_custom_auth').change(function(){ + if($(this).attr('checked')){ + $('#custom_auth_div').show() + }else{ + $('#custom_auth_div').hide() + } + }) function calculateDuration(endDateTime, startDateTime){ var duration;