From 0e2bc5efe217681c006ae7a16be21520e6563da6 Mon Sep 17 00:00:00 2001 From: Carson McDonald Date: Mon, 9 May 2011 11:00:12 -0400 Subject: [PATCH] Resizable: Skip autohide hover action when resizable is disabled. Fix #6948 - Resizable autoHide Doesn't Work With Resizable's disable --- ui/jquery.ui.resizable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/jquery.ui.resizable.js b/ui/jquery.ui.resizable.js index 1e1706a9d..e0579ef84 100644 --- a/ui/jquery.ui.resizable.js +++ b/ui/jquery.ui.resizable.js @@ -176,10 +176,12 @@ $.widget("ui.resizable", $.ui.mouse, { $(this.element) .addClass("ui-resizable-autohide") .hover(function() { + if (o.disabled) return; $(this).removeClass("ui-resizable-autohide"); self._handles.show(); }, function(){ + if (o.disabled) return; if (!self.resizing) { $(this).addClass("ui-resizable-autohide"); self._handles.hide(); -- 2.39.5