The following errors are encountered when using jQuery_update/jquery_ui with compression set as Packed or Minified (and not when using no compression).

A.widget is not a function
B.widget is not a function
$(".element").draggable is not a function

Has anyone else experienced this? What is likely to be causing the issue?

jQuery UI: 6.x-1.2
jQuery Update: 6.x-1.1
jQuery UI development bundle: 1.5.2 & 1.6rc2

Comments

sdrycroft’s picture

Further info:
This error is present when using "dev" versions of both jquery_ui and jquery_update.
I'm currently testing this in Firefox 3.0.4

nath’s picture

The ui.core.min.js is missing from the package.

mfer’s picture

It looks like you have more than just jQuery UI and jQuery Update installed. Do you have a module that is taking advantage of jQuery UI? jQuery UI doesn't add any JavaScript to a page out of the box. It's a module for other modules to take advantage of. But, your error is about something in jQuery UI code being in a page.

What is this other module or theme code? I imagine that's the culprit.

sdrycroft’s picture

Status: Active » Fixed

Cheers nath, I'm not sure where the problem was, but I've managed to fix it. I suspect that there was a browser cache issue, although I am guessing.

And yes, thanks mfer, I'm currently developing autotag for D6, although that wasn't the culprit.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

tleave2000’s picture

Hello, I came across the same error message "a.widget is not a function" and google pointed to this page.

For me the solution was to turn off the Theme developer module.