Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
a50b1ffe73
|
@ -34,7 +34,7 @@
|
|||
<li>
|
||||
<div id="live_dj_div">
|
||||
<a id="live_dj" class="source-kick-button" onclick="kickSource(this)"></a>
|
||||
Live DJ
|
||||
Show Source
|
||||
<div class="line-to-on-air off"></div>
|
||||
<a href="#" id="live_dj" class="source-switch-button" onclick="setSwitchListener(this);"><span><?php echo $this->live_dj_switch?></span></a>
|
||||
<div class="line-to-switch off"></div>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<li>
|
||||
<div id="master_dj_div">
|
||||
<a id="master_dj" class="source-kick-button" onclick="kickSource(this)"></a>
|
||||
Master DJ
|
||||
Master Source
|
||||
<div class="line-to-on-air off"></div>
|
||||
<a href="#" id="master_dj" class="source-switch-button" onclick="setSwitchListener(this);"><span><?php echo $this->master_dj_switch?></span></a>
|
||||
<div class="line-to-switch off"></div>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue