mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-30 19:04:43 +00:00
fixed scoping issue that was causing the checkbox check to fail, tests to follow Fixes #1328
This commit is contained in:
parent
c7aadd8a47
commit
141127b903
1 changed files with 3 additions and 1 deletions
|
|
@ -101,8 +101,10 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
|
|||
},
|
||||
|
||||
_updateAll: function(){
|
||||
var self = this;
|
||||
|
||||
this._getInputSet().each(function(){
|
||||
if( $(this).is(":checked") || this.inputtype === "checkbox" ){
|
||||
if( $(this).is(":checked") || self.inputtype === "checkbox" ){
|
||||
$(this).trigger("change");
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue