Skip to main content

Search and Top Navigation

#1921 closed bug (fixed)

Opened November 13, 2007 07:03PM UTC

Closed November 14, 2007 10:25PM UTC

Last modified February 26, 2009 11:16AM UTC

[PATCH] function outerHeight(el) from ui.mouse.js calculates "width"

Reported by: ptab Owned by:
Priority: critical Milestone: 1.5
Component: ui.core Version: 1.2.1
Keywords: outerHeight Cc:
Blocked by: Blocking:

File: ui.mouse.js

Look at the second line of the code: WIDTH !!! should be HEIGHT.

It makes Drag&Drop module not working (tolerance):

function outerHeight(el) {

var $el = $(el), oh = $el.width();

for (var i = 0, props = ['borderTopWidth', 'paddingTop', 'paddingBottom', 'borderBottomWidth']; i < props.length; i++)

oh += num($el, props[i]);

return oh;


Attachments (0)
Change History (3)

Changed November 14, 2007 10:25PM UTC by brandon comment:1

resolution: → fixed
status: newclosed

Fixed in Rev [3826].

I just used the dimensions outerWidth and outerHeight methods which were just updated for a boost in performance.

Changed May 24, 2008 03:39AM UTC by comment:2

milestone: 1.2.2

Milestone 1.2.2 deleted

Changed February 26, 2009 11:16AM UTC by paul comment:3

milestone: → 1.5