Skip to main content

Search and Top Navigation

#9817 closed bug (notabug)

Opened February 13, 2014 03:36AM UTC

Closed February 15, 2014 02:31AM UTC

Accordian modifying embeded script tag gets modified ti an accordian header

Reported by: terry151151 Owned by:
Priority: minor Milestone: none
Component: ui.accordion Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:

If I have the following construct:

<div id="Accordion">
<script type="text/javascript">

When I do $('#Accordion').accordion(); I end up with the script tag modified also.

The result being:

<div id="Accordion" class="ui-accordion ui-widget ui-helper-reset" data-uitype="accordian" role="tablist">
   <h3 id="ui-accordion-1-header-0" class="ui-accordion-header ui-helper-reset ui-state-default ui-accordion-header-active ui-state-active ui-corner-top ui-accordion-icons" role="tab" aria-controls="ui-accordion-1-panel-0" aria-selected="true" aria-expanded="true" tabindex="0">Heading</h3>
   <div id="ui-accordion-1-panel-0" class="ui-widget-header RoundBox ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active" style="display: block; height: 218px;" aria-labelledby="ui-accordion-1-header-0" role="tabpanel" aria-hidden="false">

<script id="ui-accordion-1-header-1" class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-accordion-icons" type="text/javascript" role="tab" aria-controls="ui-accordion-1-panel-1" aria-selected="false" aria-expanded="false" tabindex="-1">




Attachments (0)
Change History (2)

Changed February 13, 2014 10:17AM UTC by terry151151 comment:1

It works OK if I explicitly declare "h3" to be the header. IE:

    header: "h3"
} );



Changed February 15, 2014 02:31AM UTC by scottgonzalez comment:2

resolution: → notabug
status: newclosed