This project is archived and is in readonly mode.

#961 ✓invalid
Jean-Philippe Déry

element.setPosition is undefined

Reported by Jean-Philippe Déry | August 15th, 2010 @ 05:58 PM

As displayed here:

http://mootools.net/shell/zXjAA/

The method Element.setPosition is undefined event if present in the code. However, commenting the following line seems to fix the problem:

//aliases //Element.alias({setPosition: 'position'}); //compatability

Element.setPosition is now a function

Comments and changes to this ticket

  • ccoe

    ccoe August 24th, 2010 @ 04:24 AM

    • Tag changed from 1.3 to 1

    Greetings, Dragon’s Call web game we Players,
    We will be performing regular server maintenance on August, 12th, 2010. The maintenance hours as scheduled are from EST 2:00 AM to EST 3:00 AM, August, 12th, 2010. During the maintenance, you may not be able to enter Dragon's Call browser games. We apologize for any inconvenience this may cause.

  • Arian

    Arian August 27th, 2010 @ 11:45 AM

    • State changed from “new” to “invalid”
    • Tag changed from 1 to 1.3

    It's not undefined in the latest versions: http://jsfiddle.net/WZ3tr/
    In 1.3 beta 1 the arguments of Element.alias were swapped, so the setPosition method was overwritten by position which is undefined.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Pages