mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
cancel option should take in account <option> (fixes #3786)
This commit is contained in:
parent
c424efe6ff
commit
e62531a627
@ -363,7 +363,7 @@ $.extend($.ui.draggable, {
|
||||
defaults: {
|
||||
appendTo: "parent",
|
||||
axis: false,
|
||||
cancel: ":input",
|
||||
cancel: ":input,option",
|
||||
connectToSortable: false,
|
||||
containment: false,
|
||||
cssNamespace: "ui",
|
||||
|
@ -547,7 +547,7 @@ $.extend($.ui.resizable, {
|
||||
animateEasing: "swing",
|
||||
aspectRatio: false,
|
||||
autoHide: false,
|
||||
cancel: ":input",
|
||||
cancel: ":input,option",
|
||||
containment: false,
|
||||
delay: 0,
|
||||
disableSelection: true,
|
||||
|
@ -236,7 +236,7 @@ $.extend($.ui.selectable, {
|
||||
defaults: {
|
||||
appendTo: 'body',
|
||||
autoRefresh: true,
|
||||
cancel: ":input",
|
||||
cancel: ":input,option",
|
||||
delay: 0,
|
||||
distance: 1,
|
||||
filter: '*',
|
||||
|
@ -895,7 +895,7 @@ $.extend($.ui.sortable, {
|
||||
defaults: {
|
||||
accurateIntersection: true,
|
||||
appendTo: "parent",
|
||||
cancel: ":input",
|
||||
cancel: ":input,option",
|
||||
delay: 0,
|
||||
distance: 1,
|
||||
dropOnEmpty: true,
|
||||
|
Loading…
Reference in New Issue
Block a user