Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#6658 closed bug (worksforme)

IE bug when defining UI dialog buttons in an array

Reported by: kpturner Owned by:
Priority: minor Milestone:
Component: ui.dialog Version: 1.8.6
Keywords: Cc:
Blocked by: Blocking:

Description

I need to to define my UI dialog buttons in an array rather than as an object because the text of each button is variable.

When you define the buttons in an array, in IE 8 you get two extra buttons rendered in the dialog - one with text "indexOf" and one with text "lastIndexOf". Doesn't seem to affect other browsers.

For now I just remove the superfluous buttons.

Change History (4)

comment:1 Changed 9 years ago by Scott González

Component: ui.coreui.dialog
Resolution: worksforme
Status: newclosed

I'm not seeing this behavior. Perhaps you're including Prototype or modifying the native prototypes in some other way, which we don't support.

comment:2 Changed 9 years ago by kpturner

Yes, there is a subset of prototype.js present which is doing this. Thanks.

comment:3 Changed 9 years ago by RedYeti

Running jQuery UI 1.8 and jQuery 1.4.2 I had this occur in IE 8 when I'd conditionally extended the Array object with things like indexOf() and forEach() (with code from the MDC site).

The fix was to upgrade to jQuery 1.4.4

comment:4 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.