Keyword

this.removeEvent is not a function

  • motofzr1000
  • motofzr1000's Avatar Topic Author
  • Offline
  • New Member
More
15 years 10 months ago #23402 by motofzr1000
this.removeEvent is not a function was created by motofzr1000
Hi,

I'm using J. 1.5.10, with a Gavick template. I've tried with another template too, but I'm still getting this error in FF3: 'this.removeEvent is not a function' on pages where I'm using the SIG plugin. In IE7 I'm getting a Syntax error. The plugin works fine though, except for this error.

The error however, should be in /media/system/js/mootools.js (line 49), which is the following:
return(Element.NativeEvents.contains(type))?this.removeListener(type,value):this;},addEvents:function(source){return Element.setMany(this,'addEvent',source);},removeEvents:function(type){if(!this.$events)return this;if(!type){for(var evType in this.$events)this.removeEvents(evType);this.$events=null;}else if(this.$events[type]){this.$events[type].keys.each(function(fn){this.removeEvent(type,fn);},this);this.$events[type]=null;}

I've tried with other versions of mootools, and tried changing the link to mootools in jwsig.php, but nothing works.

Any idea how to get rid of this error?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum