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;
|
$s_name = "s".$this->stream_number;
|
||||||
?>
|
?>
|
||||||
<h3 class="collapsible-header"><span class="arrow-icon"></span>Stream <?php echo $this->stream_number?></h3>
|
<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">
|
<fieldset class="padded">
|
||||||
<dl class="zend_form clearfix">
|
<dl class="zend_form clearfix">
|
||||||
<dt id="<?=$s_name?>Enabled-label">
|
<dt id="<?=$s_name?>Enabled-label">
|
||||||
|
|
|
@ -120,6 +120,12 @@ $(document).ready(function() {
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('.collapsible-header').click(function() {
|
||||||
|
$(this).next().toggle('fast');
|
||||||
|
$(this).toggleClass("close");
|
||||||
|
return false;
|
||||||
|
})
|
||||||
|
|
||||||
showErrorSections()
|
showErrorSections()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue