CC-2910: Ability to collapse stream sections in "Stream Settings"
- done - only stream 1 is expanded by default
This commit is contained in:
parent
e2ff0a6a94
commit
64a46294c9
|
@ -2,7 +2,7 @@
|
|||
$s_name = "s".$this->stream_number;
|
||||
?>
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span>Stream <?php echo $this->stream_number?></h3>
|
||||
<div class="stream-setting-content" id="<?=$s_name?>-config">
|
||||
<div class="stream-setting-content" <?php echo $this->stream_number != '1'?'style="display: none;':''?> id="<?=$s_name?>-config">
|
||||
<fieldset class="padded">
|
||||
<dl class="zend_form clearfix">
|
||||
<dt id="<?=$s_name?>Enabled-label">
|
||||
|
|
|
@ -120,6 +120,12 @@ $(document).ready(function() {
|
|||
return false;
|
||||
});
|
||||
|
||||
$('.collapsible-header').click(function() {
|
||||
$(this).next().toggle('fast');
|
||||
$(this).toggleClass("close");
|
||||
return false;
|
||||
})
|
||||
|
||||
showErrorSections()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue