Skip to main content

Search and Top Navigation

#6658 closed bug (worksforme)

Opened November 16, 2010 09:35AM UTC

Closed November 16, 2010 01:23PM UTC

Last modified October 11, 2012 09:15PM UTC

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.

Attachments (0)
Change History (4)

Changed November 16, 2010 01:23PM UTC by scottgonzalez comment:1

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.

Changed November 16, 2010 11:15PM UTC by kpturner comment:2

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

Changed January 21, 2011 06:17PM UTC by RedYeti comment:3

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

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:4

milestone: TBD

Milestone TBD deleted