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:
parent
aba89824f0
commit
d7819b6dd2
|
@ -401,21 +401,20 @@ function setAddShowEvents() {
|
||||||
// calculate duration
|
// calculate duration
|
||||||
calculateDuration(endDateTime, startDateTime);
|
calculateDuration(endDateTime, startDateTime);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if($('#cb_custom_auth').attr('checked')){
|
||||||
if($('#cb_custom_auth').attr('checked')){
|
|
||||||
$('#custom_auth_div').show()
|
$('#custom_auth_div').show()
|
||||||
}else{
|
}else{
|
||||||
$('#custom_auth_div').hide()
|
$('#custom_auth_div').hide()
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#cb_custom_auth').change(function(){
|
$('#cb_custom_auth').change(function(){
|
||||||
if($(this).attr('checked')){
|
if($(this).attr('checked')){
|
||||||
$('#custom_auth_div').show()
|
$('#custom_auth_div').show()
|
||||||
}else{
|
}else{
|
||||||
$('#custom_auth_div').hide()
|
$('#custom_auth_div').hide()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
function calculateDuration(endDateTime, startDateTime){
|
function calculateDuration(endDateTime, startDateTime){
|
||||||
var duration;
|
var duration;
|
||||||
|
|
Loading…
Reference in New Issue