Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed scoping issue that was causing the checkbox check to fail, test…

…s to follow Fixes #1328
  • Loading branch information...
commit 141127b9036df00cd6e5a47278020bbbe50730c3 1 parent c7aadd8
John Bender johnbender authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/jquery.mobile.forms.checkboxradio.js
4 js/jquery.mobile.forms.checkboxradio.js
View
@@ -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");
}
})
Please sign in to comment.
Something went wrong with that request. Please try again.