Bug Tracker

Ticket #2855 (new bug)

Opened 8 months ago

Last modified 7 months ago

Error on proxy resizable

Reported by: ecentinela Assigned to: eduardo
Type: bug Priority: major
Milestone: 1.2.4 Component: ui
Version: 1.2.3 Keywords:
Cc: Needs: Patch

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,

Attachments

Change History

Changed 7 months 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?)

Changed 7 months ago by paul

  • owner changed from paul to eduardo
Note: See TracTickets for help on using tickets.