Skip to main content

Bug Tracker

Side navigation

#5471 closed bug (invalid)

Opened November 07, 2009 07:51PM UTC

Closed November 07, 2009 10:37PM UTC

Resizable and Draggable disable does not distroy mouse event bindings

Reported by: rodc Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

I'm using resizable and draggable in my plugin. Everything works fine except when i disable the resizable and draggable it seems that it does not remove the binding to mouse events because i can still resize the plugin even its disabled. The resizing happens wehn you drag the control and hover the handles (corners) and drag it.

Using version 1.7.2 of jquery.ui and 1.3.2 jquery

Attachments (0)
Change History (2)

Changed November 07, 2009 08:27PM UTC by rodc comment:1

I added this methods in ui.resizable.js fixes the problem.

enable: function() {

this._setData('disabled', false);

this._mouseInit();

},

disable: function() {

this._setData('disabled', true);

this._mouseDestroy();

},

Not sure if this is a good approach.

Changed November 07, 2009 10:37PM UTC by john comment:2

resolution: → invalid
status: newclosed

This is a jQuery UI bug and should be filed in the jQuery UI bug tracker: http://dev.jqueryui.com/