Modify ↓
Ticket #2102 (closed bug: invalid)
UI/Draggables Examples doesn't work
| Reported by: | adnan | Owned by: | braeker |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.2 |
| Component: | ui | Version: | 1.2.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I'm getting the error:
this.helper.outerWidth is not a function
URL: http://docs.jquery.com/UI/Draggables
I'm using Firefox 2.0.0.11 with FireBug on ubuntu 7.10
Attachments
Change History
comment:2 Changed 5 years ago by bear.bibeaul
- Status changed from closed to reopened
- Resolution fixed deleted
I'm getting this error using newly downloaded scripts: jQuery 1.2.3 and jQuery UI 1.5.b.
Upon any attempt to move a draggable (Firebug cut/paste):
this.helper.outerWidth is not a function
[Break on this error] this.helperProportions = { width: this.helper.outerWidth(), height: this.help...
OS X 10.5.2
Firefox 2.0.0.13, Safari 3.1, Opera 9.26
Output from Opera error console (in case it's helpful):
JavaScript - http://localhost/test/d.html
Event thread: mousemove
Error:
name: TypeError
message: Statement on line 149: Type mismatch (usually a non-object value used where an object is required)
Backtrace:
Line 149 of linked script http://localhost:8080/itruk.loads/resources/jquery/ui/ui.draggable.js
this.helperProportions = {width : this.helper.outerWidth(), height : this.helper.outerHeight()};
Line 130 of linked script http://localhost:8080/itruk.loads/resources/jquery/ui/ui.mouse.js
if (this.options.start)
Line 100 of linked script http://localhost:8080/itruk.loads/resources/jquery/ui/ui.mouse.js
return self.drag.apply(self, arguments);
Line 27 of linked script http://localhost:8080/itruk.loads/resources/jquery/jquery-1.2.3.min.js
var val;
event = jQuery.event.fix(event || window.event || {});
var parts = event.type.split(".");
event.type = parts[0];
var handlers = jQuery.data(this, "events") && (jQuery.data(this, "events"))[event.type], args = Array.prototype.slice.call(arguments, 1);
args.unshift(event);
for (j in handlers)
if (jQuery.browser.msie)
return val;
Line 26 of linked script http://localhost:8080/itruk.loads/resources/jquery/jquery-1.2.3.min.js
var val;
if (typeof jQuery == "undefined" || jQuery.event.triggered)
val = jQuery.event.handle.apply(arguments.callee.elem, arguments);
return val;
At unknown location
[statement source code not available]
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.


Fixed. Thanks!