Commit 3ed09bf9 authored by Sven Franck's avatar Sven Franck

libs: fixed external labels not being bound (bug)

parent 1756f679
/* HACKS: #7155, #7162, #7154
/* HACKS: #7155, #7162, #7154, #7292
/*!
* jQuery Mobile 1.4.3pre
* Git HEAD hash: 77b5304ec0510824e6f014e6caf716701db6abd2 <> Date: Thu Mar 6 2014 16:14:07 UTC
......@@ -7708,7 +7708,7 @@ $.widget( "mobile.checkboxradio", $.extend( {
parentLabel = input.closest( "label" ),
label = parentLabel.length ? parentLabel :
input
.closest( "form, fieldset, :jqmData(role='page'), :jqmData(role='dialog')" )
.closest( "form, fieldset, :jqmData(role='page'), :jqmData(role='dialog'), :jqmData(role='panel')" )
.find( "label" )
.filter( "[for='" + escapeId( input[0].id ) + "']" )
.first(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment