Commit graph

47 commits

Author SHA1 Message Date
Todd Parker
b80689a1dc Merge pull request #1522 from markandey/master
If 'input' element has id string with dots in it, code fails. Fixed by tweaking the regex to escape dots in the selector. Thanks markandy and eddiemonge
2011-05-10 12:12:19 -07:00
mark.dawn@gmail.com
4bccf1d8a6 some string literal fixes 2011-05-02 13:30:36 +05:30
John Bender
377c0067a7 remove checked state from radio button inputs that are not checked. use jquery attr accessor instead of expando to guarantee consistent values. Fixes #1532. 2011-05-02 00:53:51 -07:00
mark.dawn@gmail.com
69a0a47a0c XPATH Selector was not well formed of type label[for=ID]
let say id of an inputbox is x.y.z then query
$("label[for=x.y.z]") gonna fail
$("label[for=\"x.y.z\"]") gonna work
2011-04-26 19:31:43 +05:30
John Bender
141127b903 fixed scoping issue that was causing the checkbox check to fail, tests to follow Fixes #1328 2011-04-05 23:47:34 -07:00
scottjehl
612192011b adjusted change event handling to fire change event on the selected radio, as Dave suggested, and which matches the native triggering. Also, checkboxes change events appear consistent with native implementation. Fixes #1206 2011-03-31 00:22:26 -04:00
jblas@adobe.com
0a063c6d67 Get rid of "moved" tracking in the label event bindings. This is all handled transparently by the virtual mouse event code. 2011-03-27 21:20:06 -07:00
jblas@adobe.com
729cda075a Merge branch 'master' into fastclick
Resolved Conflicts:
	js/jquery.mobile.buttonMarkup.js
	js/jquery.mobile.event.js
	js/jquery.mobile.forms.checkboxradio.js
	js/jquery.mobile.forms.select.js
	js/jquery.mobile.listview.js
2011-03-27 21:00:22 -07:00
scottjehl
7503f62a10 changed our two new custom data helper names to jqmData() and :jqmData() 2011-03-25 17:50:40 -04:00
Kin Blas
4bf8519cce Merge branch 'data-namespacing' of https://github.com/jquery/jquery-mobile into ns
Resolved Conflicts:
	js/jquery.mobile.core.js
	js/jquery.mobile.forms.checkboxradio.js
2011-03-22 13:51:50 -07:00
Kin Blas
db89e1f24d Switch find/filter selector calls over to using the new :jqdata() pseudo selector. 2011-03-22 13:31:17 -07:00
John Bender
e236484559 fixed checkbox radio refresh selector 2011-03-21 23:17:46 -07:00
John Bender
63e8f6bfcb resolved merge conflicts and fixed 2 tests 2011-03-15 23:57:17 -07:00
Kin Blas
dbcf4d0373 Merge branch 'master' into fastclick 2011-03-14 11:38:00 -07:00
scottjehl
2b7a2669ac fixed a var typo. Thanks @mschroeder. 2011-03-14 08:29:17 -04:00
scottjehl
7aab355ffb some fixes to make checks and radios work in Windows Phone 7. The labels were not being found through the selector, but finding all labels and then using the filter method seemed to work fine. Other than that, this push includes a little DRY cleanup here and there. 2011-03-14 00:20:24 -04:00
scottjehl
ea60207c1b changed custom data method to $.fn.mobileData() and updated plugins that use it. 2011-03-09 23:27:21 -05:00
scottjehl
ce34ece257 namespaced data- attrs to $.mobile.ns (defaults to "jq-") throughout the JS 2011-03-09 20:47:44 -05:00
Kin Blas
6414e35cee Convert checkbox/radio and navbar over to virtual mouse events. 2011-03-09 12:37:20 -08:00
John Bender
58b16a94b6 small refactor to disable check for checkbox radio 2011-02-26 23:59:17 -08:00
Martin Kou
2bb94172cf Fixed checkboxradio disable issue. 2011-02-26 23:55:37 -08:00
Martin Kou
796c8642bd Fixed a typo in checkboxradio which causes JS errors. 2011-02-20 18:32:02 -08:00
scottjehl
8dc5d0d79e fixed a regression in some android 2.2 devices where checkboxes were toggling on and off on every click. Fixes #935 as well. 2011-02-03 18:28:32 -05:00
scottjehl
1b72203096 checks and radios no longer check when a scroll starts on top of them. Fixes #893 2011-01-28 14:39:58 -08:00
scottjehl
4a9b374eea make sure change events fire whenever custom checks/radios change. 2011-01-24 13:04:41 -05:00
scottjehl
fbb2fc2c60 lengthened timer for Android, and added a check to let through the same event type for double-taps. 2011-01-21 18:29:28 -05:00
scottjehl
aa0a61c407 followup on previous commit. made sure devices with both touch and mouse events work with either input type. Also fixed regression with radio inputs. 2011-01-21 18:13:02 -05:00
scottjehl
38c1c24e5d moved check/uncheck event on label to touchend/mouseup. Fixes #753 2011-01-21 17:45:22 -05:00
Jesse Streb
924c2c3e9b updated select to no longer wrap the input element as it is already jQuery object. Thanks ehynds. 2011-01-12 08:01:37 +08:00
Jesse Streb
5b238ea1ce https://github.com/jquery/jquery-mobile/issues#issue/578 Updated to use the selector that Scott suggested in order to make checkboxes not dissappear. One issue I noticed is that the page still transitions to the 'new' page even though it is really the same page. I have a fix for this that will post in a separate drop. 2011-01-12 08:01:36 +08:00
Louy Alakkad
4dcb65fc7a fixing spaces 2010-12-22 07:53:07 -08:00
Louy Alakkad
59e8ee3137 Matching the jQuery code style guidelines. 2010-12-22 07:52:08 -08:00
louy
ba99290480 Merge branch 'master' of git://github.com/jquery/jquery-mobile 2010-12-18 16:06:55 +02:00
louy
d435979daf Allow developer to apply themes on checkboxes/radio-buttons. 2010-12-18 15:20:15 +02:00
scottjehl
93179f9a3d updated comment about license to match other jQuery projects - MIT "or" GPL 2010-11-19 22:47:47 -05:00
scottjehl
a24196e550 dolla dolla bills y'all.
Fixes #126, Fixes #346
2010-11-11 10:50:28 -05:00
scottjehl
563169def9 made sure data-icon attrs work on radio and checks. Fixes #423, Fixes #424 2010-11-10 23:19:41 -05:00
scottjehl
356308e6b7 updates to comments 2010-11-09 19:55:52 -05:00
Matt Lins
e66997b794 Use existing inputtype var 2010-11-02 13:31:09 -05:00
Matt Lins
ea0470f099 Ensure more specific selector works for radio 2010-10-30 15:12:37 -05:00
Matt Lins
7e49a8f648 Use more specific selector for checkbox refresh 2010-10-30 14:47:03 -05:00
scottjehl
2e86ed1425 added support for enable and disable methods 2010-10-27 23:11:36 -04:00
scottjehl
7d03d097bf rewrote checkboxradio to use widget factory. renamed method checkboxradio and updated page plugin to match 2010-10-27 22:38:02 -04:00
John Resig
62623ca68e Made a bunch of tweaks to checkbox/radio. 2010-10-22 12:42:24 -04:00
Matt Curry
e5bd32c2d9 put input name in quotes to prevent issue with [,] chars 2010-10-19 23:27:16 +08:00
scottjehl
16ee84fd94 apply theming to checkboxes and radios through data-theme attr. Fixes #150 Fixes #151 2010-10-11 16:47:08 -04:00
Scott González
5c3d35574f Renamed files. 2010-10-07 11:30:48 -04:00
Renamed from js/jQuery.mobile.forms.checkboxradio.js- (Browse further)