Skip to main content

Search and Top Navigation

#8690 closed bug (notabug)

Opened October 17, 2012 05:48AM UTC

Closed October 17, 2012 06:26AM UTC

Last modified October 17, 2012 02:50PM UTC

Accordion uses <script> tag as data section

Reported by: Vikas Owned by:
Priority: minor Milestone: 1.10.0
Component: ui.accordion Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:
Description

Accordion uses <script> tag as data section. For example,

<div class="accordion">
<h3>Header</div>
<div>Data</div>
<script>
//Some javascript stuff
</script>
<h3>Header2</h3>
<div>Data2</div>
</div>
Attachments (0)
Change History (3)

Changed October 17, 2012 06:26AM UTC by scottgonzalez comment:1

resolution: → notabug
status: newclosed

Use the header option.

Changed October 17, 2012 07:06AM UTC by Vikas comment:2

_comment0: Replying to [comment:1 scott.gonzalez]: \ > Use the header option. \ Ok, if I set header, but script is between h3 section and data section: \ http://jsfiddle.net/7KZPS/13/ \ <div class="accordion"> \ <h3>Header2</h3> \ <script> \ //Some javascript stuff \ </script> \ <div>Data2</div> \ </div> \ \ Ok, nevermind. Not a big deal... BTW, in the 1.8.24 I didn't had this issue.1350457598583018
_comment1: Replying to [comment:1 scott.gonzalez]: \ > Use the header option. \ Ok, if I set header, but script is between h3 section and data section: \ http://jsfiddle.net/7KZPS/13/ \ \ {{{ \ <div class="accordion"> \ <h3>Header2</h3> \ <script> \ //Some javascript stuff \ </script> \ <div>Data2</div> \ </div> \ }}} \ \ \ Ok, nevermind. Not a big deal... BTW, in the 1.8.24 I didn't had this issue.1350457671217017

Replying to [comment:1 scott.gonzalez]:

Use the header option.

Ok, if I set header, but script is between h3 section and data section:

http://jsfiddle.net/7KZPS/13/

<div class="accordion">
    <h3>Header2</h3>
    <script>
    //Some javascript stuff
    </script>
    <div>Data2</div>
</div>

Ok, nevermind. Not a big problem... BTW, in the 1.8.24 I didn't had this issue.

Changed October 17, 2012 02:50PM UTC by scottgonzalez comment:3

So don't do that, it was never intended to be supported.