Closed (fixed)
Project:
jQuery UI
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2008 at 12:13 UTC
Updated:
23 Aug 2011 at 14:26 UTC
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
Comment #1
sdrycroft commentedFurther 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
Comment #2
nath commentedThe ui.core.min.js is missing from the package.
Comment #3
mfer commentedIt 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.
Comment #4
sdrycroft commentedCheers 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.
Comment #6
tleave2000 commentedHello, 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.