Skip to main content

Search and Top Navigation

#7117 closed bug (duplicate)

Opened March 15, 2011 02:58PM UTC

Closed June 07, 2011 09:16AM UTC

Last modified June 07, 2011 09:16AM UTC

Option "aspectRatio" could not be changed after init (bugfix in the ticket)

Reported by: raziel057 Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.resizable Version: 1.8.10
Keywords: Cc:
Blocked by: Blocking:
Description

The problem is visible here: http://jsfiddle.net/HTcSx/

To fix this issue, I just added the following function in $.widget("ui.resizable") before _updateCache method.

_setOption: function( key, value ) {

this.options[ key ] = value;

if ( key == "aspectRatio" ) {

self = this.element.data("resizable");

self._aspectRatio = !!(this.options.aspectRatio);

}

},

Could you correct it in the next release?

Attachments (0)
Change History (2)

Changed June 07, 2011 09:16AM UTC by rdworth comment:1

resolution: → duplicate
status: newclosed

Changed June 07, 2011 09:16AM UTC by rdworth comment:2

Duplicate of #4186.