Skip to main content

Search and Top Navigation

#8988 closed bug (invalid)

Opened January 20, 2013 03:25PM UTC

Closed February 04, 2013 08:35AM UTC

button initiated multi-times if multi-instance of jsp append to same html page

Reported by: deng.hui5 Owned by: deng.hui5
Priority: minor Milestone: none
Component: ui.button Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:
Description

assume a jsp page contain some html snippets, then use ajax load this page and insert into a framework html page.

the first insertion, I got:

<label for="weekset1" class="ui-state-active ui-button ui-widget ui-state-default ui-button-text-only" role="button" aria-disabled="false">
    <span class="ui-button-text">Mon</span>
</label>

it's fine.

after the second insertion, the first snippet is impacted and became:

<label for="weekset1" class="ui-state-active ui-button ui-widget ui-state-default ui-button-text-only" role="button" aria-disabled="false">
    <span class="ui-button-text">
         <span class="ui-button-text">Mon</span>
    </span>
</label>

and after the third insertion, the first snippet became:

<label for="weekset1" class="ui-state-active ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only ui-state-hover" role="button" aria-disabled="false">
     <span class="ui-button-text">
          <span class="ui-button-text">
               <span class="ui-button-text">Mon</span>
          </span>
     </span>
</label>
Attachments (0)
Change History (3)

Changed January 20, 2013 03:26PM UTC by deng.hui5 comment:1

code is simple:

	$("#weekset",context).buttonset();

Changed January 20, 2013 07:48PM UTC by tj.vantoll comment:2

owner: → deng.hui5
status: newpending

Hi deng.hui5, thanks for taking the time to contribute to the jQuery UI project. In order to look into this issue we're going to need a reduced test case showing the problem. You can use this as a starting point - http://jsfiddle.net/tj_vantoll/RKwuk/.

Changed February 04, 2013 08:35AM UTC by trac-o-bot comment:3

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!