#302 new
Matthew Toledo

Uncaught TypeError: Object function Event() { [native code] } has no method 'observe'

Reported by Matthew Toledo | October 12th, 2010 @ 02:17 AM

controls.js seems to throw an error in Google Chrome 6.0.472.63

The line in question is line 90.

Event.observe(this.element, 'blur', this.onBlur.bindAsEventListener(this));

The error message in Google Chrome's console is...

Uncaught TypeError: Object function Event() { [native code] } has no method 'observe'

Comments and changes to this ticket

  • Igor Ganapolsky

    Igor Ganapolsky December 16th, 2010 @ 04:19 PM

    I am getting a similar error when I try the following code:

    Function.method('curry', function ( ) {
    var slice = Array.prototype.slice,
    args = slice.apply(arguments),
    that = this;
    return function ( ) {
    return that.apply(null, args.concat(slice.apply(arguments)));
    }; });

    TypeError: Object function Function() { [native code] } has no method 'method'

  • sebastian sastre

    sebastian sastre December 5th, 2011 @ 08:02 PM

    I'm experiencing this issue in Google Chrome 15.0.874.121 in OSX

    The same browser and version in Windows Vista works as expected

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

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

script.aculo.us is an open-source JavaScript framework for visual effects and interface behaviours.
<br/><b>Source available from github</b>
The Git repository resides at:
<a href="http://github.com/madrobby/scriptaculous">http://github.com/madrobby/scriptaculous</a>
<br/>Check out the current development trunk with:
<code>git clone git://github.com/madrobby/scriptaculous.git</code>
<br/>As <b>script.aculo.us 1.xx is feature-frozen</b>, this development trunk is for <b>bugfixes only</b>.
<br/>New development should happen only for
<b>script.aculo.us 2</b>.
<br/><b>Creating a bug report</b>
When creating a bug report, be sure to include as much relevant information as possible. Post a an example that shows off the problem. Preferably, <b>alter the unit tests</b> and show through either changed or added tests how the expected behavior is not occuring.

Attachments

Pages