CC-3489: Live Stream: When Custom Auth check box is checked, Custom

Username and Custom Password field must be required

- fixed spacing
This commit is contained in:
James 2012-03-26 17:21:13 -04:00
parent aba89824f0
commit d7819b6dd2
1 changed files with 10 additions and 11 deletions

View File

@ -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;