diff options
author | TJ VanToll <tj.vantoll@gmail.com> | 2012-01-09 21:42:56 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-04-19 20:55:17 -0400 |
commit | 8ce8b77bfc07bd037bda8e204c673907242360a8 (patch) | |
tree | 35a025e3a77ee0b27c8708ee4129e5ad64f930fd /ui | |
parent | 849b56238c1c57d49edfd8489f2f51fa77c58a99 (diff) | |
download | jquery-ui-8ce8b77bfc07bd037bda8e204c673907242360a8.tar.gz jquery-ui-8ce8b77bfc07bd037bda8e204c673907242360a8.zip |
Resizable: Apply zIndex option to all handles. Partial Fix for #7960- Modal dialog does not disable resizables on the page.
(cherry picked from commit 6150abae49f77a3b2f67c39a3c60a06792b4de8f)
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.resizable.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/jquery.ui.resizable.js b/ui/jquery.ui.resizable.js index 12383e1f9..3e5ad9dcb 100644 --- a/ui/jquery.ui.resizable.js +++ b/ui/jquery.ui.resizable.js @@ -98,9 +98,8 @@ $.widget("ui.resizable", $.ui.mouse, { var handle = $.trim(n[i]), hname = 'ui-resizable-'+handle; var axis = $('<div class="ui-resizable-handle ' + hname + '"></div>'); - // increase zIndex of sw, se, ne, nw axis - //TODO : this modifies original option - if(/sw|se|ne|nw/.test(handle)) axis.css({ zIndex: ++o.zIndex }); + // Apply zIndex to all handles - see #7960 + axis.css({ zIndex: o.zIndex }); //TODO : What's going on here? if ('se' == handle) { |