Bug Tracker

Opened 12 years ago

Closed 9 years ago

#2855 closed bug (invalid)

Error on proxy resizable

Reported by: ecentinela Owned by: eduardo
Priority: major Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:

Description

Documentations says that the 'proxy' option is used to add a className to the proxy element. But always it is replaced by 'proxy' string.

The error code is this

			$.extend(o, {
				_aspectRatio: !!(o.aspectRatio),
				proxy: o.proxy || o.ghost || o.animate ? 'proxy' : null,
				knobHandles: o.knobHandles === true ? 'ui-resizable-knob-handle' : o.knobHandles
			});

The option is extended and replaced on this line

proxy: o.proxy || o.ghost || o.animate ? 'proxy' : null,

Change History (3)

comment:1 Changed 12 years ago by brainless

Replacing the line with:

proxy: o.proxy || o.ghost || o.animate || null,

seems to fix things on Firefox and IE (although I guess there was a good reason to use the method originally used, so perhaps this isn't the best way?)

comment:2 Changed 11 years ago by paul

Owner: changed from paul to eduardo

comment:3 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed

This should be filed in the UI bug tracker if still relevant.

http://dev.jqueryui.com

Note: See TracTickets for help on using tickets.