Opened 15 years ago
Closed 15 years ago
#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: | ||
Blocked by: | Blocking: |
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 (1)
Change History (5)
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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]
comment:3 Changed 15 years ago by
Owner: | changed from paul to braeker |
---|---|
Status: | reopened → new |
comment:4 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
jQuery UI 1.5b requires dimensions. Current SVN does not.
Note: See
TracTickets for help on using
tickets.
Fixed. Thanks!