in partnership with mediatemple

Ticket #1007 (new defect)

Opened 5 days ago

Last modified 5 days ago

1542 Opera Fix causes strange issue...

Reported by: Artnez Owned by:
Type: defect Priority: blocker
Milestone: Mootools version 1.2 Component: Core
Keywords: Cc:

Description

I don't really know how to explain it, so I created a basic test case for you to see.

The fix in changeset 1542 seems to cause a very strange thing. If you try to alert any string in a overloaded method of an extended class, parenthesis are added around certain numbers.

Here is a simple test case:
http://dev.artnez.com/moobugs/1542_bug.html

Also here is a pastebin link incase the above doesn't work:
http://pastebin.com/m12f4fc9

It's a very simple script. The following should alert on the page:

96x96.gif

Instead, this is alerted in the latest version of Opera:

96x(96).gif

Change History

Changed 5 days ago by Artnez

This bug only occurs in Opera.

Note: See TracTickets for help on using tickets.