Bug Tracker

Modify

Ticket #2855 (closed bug: invalid)

Opened 5 years ago

Last modified 3 years ago

Error on proxy resizable

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

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

comment:1 Changed 5 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 5 years ago by paul

  • Owner changed from paul to eduardo

comment:3 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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

 http://dev.jqueryui.com

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.