Commit graph

85 commits

Author SHA1 Message Date
jrburke
096e90bbfe Update to relative AMD dependencies, allows proper use of source in an AMD project. 2012-01-24 14:43:24 -08:00
Ghislain Seguin
948d39b898 Added dependency on jquery 2012-01-12 21:22:00 -08:00
Mat Marquis
8da75eb6b5 Fixes #2553 — Addresses issue where underlying checkboxes/radio buttons were not being updated when enhanced buttons were clicked. 2012-01-12 17:28:08 -05:00
Mat Marquis
d7afc8aa78 Added download builder metadata. 2012-01-06 19:31:31 -05:00
John Bender
95073892f0 Merge branch 'amd' 2012-01-04 12:24:33 -08:00
zachleat
07efc02c9f First stab at more consistent focus classes on form elements, using .ui-focus. Links will still contain outline property. 2011-12-29 16:26:44 -05:00
Ghislain Seguin
14e1641a27 Added dep on "jquery.mobile.buttonMarkup" wherever needed 2011-12-20 11:33:55 -08:00
Ghislain Seguin
57a1129bfb Discovered r.js' pragmas use them instead of the hacky solution provided by amd-stripper.js 2011-12-15 18:15:42 -08:00
Ghislain Seguin
754cc81115 Specified more dependencies 2011-12-15 13:07:55 -08:00
Ghislain Seguin
cf04068eba Assume jquery is loaded so don't require it 2011-12-08 10:02:36 -08:00
Ghislain Seguin
45c6b309cb Added dep on vmouse 2011-12-01 17:28:10 -08:00
Ghislain Seguin
6b7e83effa Added dep on jquery.mobile.buttonMarkup 2011-12-01 17:28:10 -08:00
Ghislain Seguin
7f14a3dfed AMDized 2011-12-01 17:28:08 -08:00
Mat Marquis
a0ec2eb4f3 Fixes #3086 — Windows Phone 7 seems unable to use find() for an attribute-based selector, in this context. 2011-11-17 18:08:05 -05:00
jblas@adobe.com
343161c972 Reclaim 250 msecs on iPad and WP7.5 (Mango) by simply combining find().filter() calls and getting rid of fake pseudo selectors :eq(0) and :last. 2011-11-11 10:31:31 -08:00
Eddie Monge
5535e24c46 Update to add license to root, update individual files to not have license, add license to built and testing files 2011-11-08 15:43:36 -08:00
Jean-Pierre Fiset
bd5f62cb3c Fix for issue #2897 2011-11-01 11:00:27 -04:00
John Bender
580b376566 add a quick todo for a better possible solution for passing clicks from the label to the input 2011-10-25 10:55:30 -07:00
John Bender
4daed58a16 use triggerHandler to trigger click handler's bound to inputs on label click Fixes #1335 2011-10-25 10:53:20 -07:00
John Bender
be59c77125 switch to stop propagation on checkbox/radio vmouse 2011-10-18 13:56:31 -07:00
John Bender
18767e5ac1 whitespace in checkbox radio 2011-10-18 13:56:31 -07:00
John Bender
aa16aec358 move checkbox radio to enhanceWithin 2011-10-10 14:21:37 -07:00
scottjehl
263193f490 Moved autoinit calls to after widgets. Made it so auto init selectors use the initSelector option, so that it can be configurable. 2011-07-27 18:42:16 -04:00
Scott Jehl
2c4615176d Fixed typo in reference to initSelector default value. 2011-07-27 11:58:20 -03:00
scottjehl
e07c40e3d0 exposed automatic initialization selectors on most widgets that expose options through the widget factory. Option name is "initSelector" 2011-07-26 14:22:08 -04:00
scottjehl
fdb77bfa52 changed new (undocumented) "enhance" event to "create" to better match our existing event name conventions 2011-07-22 09:05:55 -04:00
scottjehl
64e6ef0e72 bound widgets to the "enhance" event, in addition to the pagecreate event. The enhance event allows developers to enhance the contents of an html fragment by triggering "enhance". 2011-07-19 22:44:03 -04:00
scottjehl
2a6c7fc1b9 This commit decouples all widgets from the page plugin so that they can be used ad-hoc.
- Internally, each plugin self-initializes by binding to the pagecreate event.

- Unit tests have been added and adjusted to support some internal changes involved in this commit.

- In the process, the portions of the page plugin that were used to enhance the header,content,and footer sections of a native-app style page layout are now located in jquery.mobile.page.sections.js.

- No public API options have changed, except that the page plugin no longer has options for keepNative, and degradeInputs, as plugins now handle these internally (keepNative was never documented, and degradeInputs only affected slider, so it lives there now. Page options related to the page sections are now located in the page.sections script, but they are still configurable via the page plugin's options api.

- Make, Ant, and index files are updated with a new load order for all JS files.
2011-07-19 22:25:23 -04:00
scottjehl
033ce4ab96 Merge branch 'fix_issue_1851' of https://github.com/tigbro/jquery-mobile into tigbro-fix_issue_1851
Conflicts:
	js/jquery.mobile.forms.checkboxradio.js
2011-07-10 17:17:51 -04:00
Rick Waldron
74f05680b3 jQuery core style guide conformance: jquery.mobile.forms.checkboxradio.js 2011-06-28 20:35:40 -04:00
scottjehl
9f07a1cfb2 ensure that the active button state is still applied to check and radio sets that don't have icons 2011-06-24 12:40:01 -04:00
Ghislain Seguin
ffdab6ff32 Fixed a glitch in the icon class name generation. It was adding ui-icon-ui-icon-checkbox-off to the checkbox icon element (2x ui-icon) and similar to radio icon element 2011-06-24 12:40:01 -04:00
Ghislain Seguin
9c3ebe07ea Added state class to label of checkbox/radio 2011-06-24 12:40:01 -04:00
scottjehl
5a4b5f3206 Implemented the new design for checkboxes and radios as proposed by @toddparker. 2011-06-24 12:40:00 -04:00
Tobias Bosch
ff2ef4076b fix issue 1851 as suggested 2011-06-23 13:31:05 +02:00
scottjehl
5512c8af02 use prop instead of attr for enable/disable 2011-06-08 18:12:42 -04:00
Shana Golden
c9d97ef261 Allow checkboxes/radio buttons to be selected with keyboard - updated to use prop() 2011-05-27 10:06:18 -04:00
Shana Golden
4ca2fc5287 Allow checkboxes and radio buttons to be selected with the keyboard 2011-05-25 15:45:41 -04:00
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