Fixing The “jQuery.dequeue is not a function” Error

Today when using interface in WebOS, an error occured in both IE an Firefox. Firebug displayed such error message: jQuery.dequeue is not a function.

This is because interface is a plug-in for jQuery 1.1. By checking the source code, it invoked the legacy version of the jQuery.dequeue() method. To work with the latest jQuery, all the invocation code need to be changed. For example:

  • ifx.js, line 472: jQuery.dequeue(elem, "fx") should be jQuery(elem).dequeue("fx");
  • ifxtransfer.js, line 120: jQuery.dequeue(z.el.get(0), 'interfaceFX') should be jQuery(z.el.get(0)).dequeue('interfaceFX');


No Comments