collapse advanced configuration sections in Schedule Dialog
This commit is contained in:
parent
7beadd05b0
commit
4b9e50b64b
|
@ -11,10 +11,6 @@
|
|||
<div id="schedule-show-what" class="collapsible-content">
|
||||
<?php echo $this->what; ?>
|
||||
</div>
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span><?php echo _("Automatic Playlist") ?></h3>
|
||||
<div id="schedule-show-what" class="collapsible-content">
|
||||
<?php echo $this->autoplaylist; ?>
|
||||
</div>
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span><?php echo _("When") ?></h3>
|
||||
<div id="schedule-show-when" class="collapsible-content">
|
||||
<?php
|
||||
|
@ -29,6 +25,10 @@
|
|||
|
||||
<?php echo $this->repeats; ?>
|
||||
</div>
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span><?php echo _("Automatic Playlist") ?></h3>
|
||||
<div id="schedule-show-auto" class="collapsible-content">
|
||||
<?php echo $this->autoplaylist; ?>
|
||||
</div>
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span><?php echo _("Live Stream Input") ?></h3>
|
||||
<div id="live-stream-override" class="collapsible-content">
|
||||
<?php echo $this->live; ?>
|
||||
|
|
|
@ -16,6 +16,14 @@ function openAddShowForm(nowOrFuture) {
|
|||
$("#add-show-form").show();
|
||||
|
||||
windowResize();
|
||||
|
||||
// collapse advanced configuration sections
|
||||
$('#schedule-show-auto').hide();
|
||||
$('#live-stream-override').hide();
|
||||
$('#schedule-record-rebroadcast').hide();
|
||||
$('#schedule-show-who').hide();
|
||||
$('#schedule-show-style').hide();
|
||||
|
||||
}
|
||||
$("#schedule-show-what").show(0, function(){
|
||||
$add_show_name = $("#add_show_name");
|
||||
|
|
Loading…
Reference in New Issue