No reason to limit the initial change data store to just radio elements. Fixes #5851.
This commit is contained in:
parent
7a3afc3194
commit
942f8f7f75
1 changed files with 1 additions and 4 deletions
|
@ -728,10 +728,7 @@ jQuery.event.special.change = {
|
||||||
// information/focus[in] is not needed anymore
|
// information/focus[in] is not needed anymore
|
||||||
beforeactivate: function( e ) {
|
beforeactivate: function( e ) {
|
||||||
var elem = e.target;
|
var elem = e.target;
|
||||||
|
jQuery.data( elem, "_change_data", getVal(elem) );
|
||||||
if ( elem.nodeName.toLowerCase() === "input" && elem.type === "radio" ) {
|
|
||||||
jQuery.data( elem, "_change_data", getVal(elem) );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setup: function( data, namespaces, fn ) {
|
setup: function( data, namespaces, fn ) {
|
||||||
|
|
Loading…
Reference in a new issue