Skip to main content

Search and Top Navigation

#8033 closed bug (notabug)

Opened January 20, 2012 05:56AM UTC

Closed February 04, 2012 08:07AM UTC

Last modified August 20, 2012 02:17AM UTC

Dialog has extra buttons when you add functions to Array.prototype.

Reported by: joshmouch Owned by: joshmouch
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.17
Keywords: Cc:
Blocked by: Blocking:
Description

If you extend the Array type like so:

Array.prototype.dosomething = function(a,b) { /* do something */ };

And then try to open a dialog, there will be a button on the dialog called "dosomething".

Attachments (0)
Change History (4)

Changed January 20, 2012 11:33AM UTC by tj.vantoll comment:1

Can you provide a test case? This works just fine for me - http://jsfiddle.net/j49Wz/

Changed January 20, 2012 12:50PM UTC by scottgonzalez comment:2

owner: → joshmouch
status: newpending

Changed February 04, 2012 08:07AM 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!

Changed August 20, 2012 02:17AM UTC by scottgonzalez comment:4

#8509 is a duplicate of this ticket.