Commit graph

2466 commits

Author SHA1 Message Date
Scott Jehl
bb67018dd7 Merge pull request #1723 from eddiemonge/bug_1507
fix height issue for transitioning page
2011-05-27 07:21:02 -07:00
Scott Jehl
4b40896b6a Merge pull request #1709 from shanag/checkboxradio-keyboard-fix
Allow checkboxes and radio buttons to be selected with the keyboard
2011-05-27 07:11:21 -07: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
Kin Blas
6fdb90df17 Fixed a typo in $.mobile.loadPage.defaults. The default for the data property should be undefined, not the string "undefined". 2011-05-26 17:04:27 -07:00
eddiemonge
7a01d702ef trying to sneak this in as well 2011-05-26 16:49:05 -07:00
eddiemonge
b2a534c217 fix height issue for transitioning page 2011-05-26 16:43:07 -07:00
Kin Blas
c8761525e7 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-05-26 16:41:41 -07:00
Kin Blas
7befe9087a The signature of changePage() has changed but folks need some time to transition to using the new signature. I added code to changePage() that maps any old signature calls to changePage() into a new call. This should fix issue 1712 ($.mobile.changePage broken in latest). This code should be removed before shipping 1.0. 2011-05-26 16:39:09 -07:00
Todd Parker
6ac1598033 Merge pull request #1719 from StevenBlack/buttonMarkupToCodeStandards
jquery.mobile.buttonMarkup.js: Whitespace changes, bring this package up to coding standards
2011-05-26 13:04:37 -07:00
Todd Parker
881d3f455f Merge pull request #1720 from StevenBlack/CollapsibleToCodeStandards
jquery.mobile.collapsible.js: Whitespace to standards.  Now passes jsHint. Thanks Steven.
2011-05-26 13:04:20 -07:00
Steven Black
bce94ffbaa jquery.mobile.collapsible.js: Whitespace to standards. Now passes jsHint.
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-26 15:41:01 -04:00
Steven Black
399c2c5af0 jquery.mobile.buttonMarkup.js: Whitespace changes, bring this package up to jQuery coding standards.
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-26 15:08:10 -04:00
Scott Jehl
84d540e533 Merge pull request #1718 from Wilto/master
Fixed header/footer positioning in IE 7/8
2011-05-26 11:27:56 -07:00
Mat Marquis
86295b170d Correcting my own comment. 2011-05-26 13:00:01 -04:00
Mat Marquis
4947eacf1c Bound 'silentscroll' event back to document, as it was causing issues in modern browsers and made no difference in IE 7/8. 2011-05-26 12:40:49 -04:00
Mat Marquis
f36e92fb7b Desktop IE wasn't reporting a scrollTop value for fixed headers/footers—'window' is now provided as a fallback in the event that .scrollTop() reports zero. 2011-05-26 11:51:16 -04:00
Kin Blas
e5876e3d3b Attempt number 2 at fixing 1708 - - nightbuild close dialog throwing error 2011-05-25 17:17:21 -07:00
Kin Blas
bee8549a18 Fixed a bad typo caught by @johnbender and @gseguin.
- Replaced an un-intentional semi-colon with a comma.
2011-05-25 15:13:44 -07:00
Shana Golden
4ca2fc5287 Allow checkboxes and radio buttons to be selected with the keyboard 2011-05-25 15:45:41 -04:00
Kin Blas
923b047e75 Fix for issue 1708 - nightbuild close dialog throwing error
- Check the returned active object to see if it is valid before attempting to extract the transition out of it. Default to $.mobile.defaultDialogTransition if there is no active object.
2011-05-25 12:44:10 -07:00
John Bender
a4ee2d5bbb moved local failing firefox test to pageSequence helper 2011-05-24 16:42:38 -07:00
scottjehl
e1ac8eec6b Merge remote branch 'origin/master' 2011-05-24 19:32:59 -04:00
scottjehl
198ca91d7d Changed the hiding mechanism for invisible native selects so that they work in Firefox Mobile. Fixes #1626. Tested on the following platforms: Mobile Firefox on Android 2.2, Firefox 3.6 and 4.x Mac, Chrome on Mac, Internet Explorer 7 and 8 - Desktop, Windows Phone 7, Safari desktop, Android 2.2 webkit, iOS 4 iPhone, BlackBerry 5, BlackBerry 6, iOS 4 on iPad, Opera Mini & Desktop on Mac 2011-05-24 19:32:53 -04:00
Scott Jehl
32d7fca682 Merge pull request #1685 from StevenBlack/NixDatepicker
Per discussions last week: removal of the experimental jQuery-UI-based Datepicker. Code can be found here: https://github.com/filamentgroup/jQuery-Mobile-Themed-DatePicker
2011-05-24 15:53:44 -07:00
scottjehl
912b674556 Merge remote branch 'origin/master' 2011-05-24 17:40:02 -04:00
scottjehl
76fe9ca3fd moved previous logic to the init file so it's not overridden by defaults. 2011-05-24 17:39:53 -04:00
John Bender
8291f92ce8 fixed error on undefined var in init_core tests 2011-05-24 14:14:19 -07:00
scottjehl
7b578f7873 Disabled ajax navigation in BlackBerry 5 and Opera Mini, for a more usable overall experience (and in some cases, due to insufficient native history implementations that don't track hash changes). Fixes #1644 and Fixes #1276 2011-05-24 17:08:29 -04:00
scottjehl
8929ac33b9 Removed the ajaxLinksEnabled and ajaxFormsEnabled settings. These were deprecated in a4 and scheduled for removal. Automated link and form ajax handling can still be globally disabled via the ajaxEnabled option. 2011-05-24 16:08:30 -04:00
Kin Blas
368d3e55b4 Merge branch 'master' into navigation 2011-05-23 17:00:32 -07:00
Kin Blas
5e87e8481d Did a sweep over all tests (except for filter tests) to convert them to pageSequence() where possible. This fixes the test bustages caused by the changePage() refactoring. Note that the "Multiple nested lists on a page" test is still busted, as it is on the HEAD. 2011-05-23 16:51:37 -07:00
Kin Blas
786ef25e0a Changes to get the navigation unit tests green again.
- Modified changePage() to set isPageTransitioning earlier.
- Modified pageSequence() to allow the current changepage callback stack to unwind before firing off the next function in the sequence.
2011-05-23 14:30:40 -07:00
John Bender
a2834bb367 removed two unnecessary tests from the navigation suite, and moved a few more over to the pageSequence helper. 2011-05-21 23:36:06 -07:00
John Bender
dc530ea751 page sequence helper added, nav tests in a somewhat better state. the event trigger spot, namespace, and general setup are all up for debate 2011-05-21 22:15:12 -07:00
Steven Black
f2ad4e5fe2 Per discussions last week about the removal of the experimental jQuery-ui Datepicker.
* docs/forms/index.html: Removed reference to the jQuery-UI Datepicker which is too heavy for mobile.
* experiments/ui-datepicker folder: deleted since it is no longer referenced.

Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-21 22:06:39 -04:00
Kin Blas
2cfacc4804 Changes to get the navigation_core and navigation_helpers tests to pass again:
- Modified changePage() click test so that it expects changePage() to be called twice.
- Added changePage() test that makes sure it is called once when it is invoked with a page element instead of a URL.
- Added siteDirectory path to be used with some tests which assumed that the tests directory was at the top-level of the server site.
2011-05-20 15:32:17 -07:00
Kin Blas
5ba2cc975e Inverted the logic around ignoreNextHashChange so that it actually matches the name of the variable.
Modified the hashchange callback so that it specifies a "none" transition, instead of a false boolean, for the case where the hash changed and there is nothing on the urlHistory stack.
2011-05-20 15:19:54 -07:00
John Bender
fe7ba3f6c6 jquery style compliance for nsNormalize 2011-05-20 12:32:08 -07:00
Todd Parker
115a7858b3 Merge pull request #1678 from eddiemonge/patch-1
Minified CSS was getting double info
2011-05-20 11:43:34 -07:00
Eddie Monge Jr.
9fce3e1f72 Minified CSS was getting double info 2011-05-20 11:36:28 -07:00
Todd Parker
ed3dc7092a Merge pull request #1675 from cwt137/master
Fix for issue #1674. Toolbar Theming Example Missing Button. Thanks cwt137
2011-05-20 10:41:32 -07:00
Kin Blas
3c792c58f0 Merge branch 'master' into navigation
Fixed Conflicts:
	js/jquery.mobile.init.js
	js/jquery.mobile.navigation.js
2011-05-20 09:39:19 -07:00
John Bender
4c299a600b moved nsNormalize from replace to jquery camelCase function 2011-05-20 09:20:15 -07:00
cwt137
2a5badd14d Adds missing button in toolbar theming example. Fixes issue #1674 2011-05-20 06:27:52 -07:00
John Bender
ad6279dd8a small optimization to prevent unnecessary recompilation of normalization regex 2011-05-20 01:09:39 -07:00
John Bender
3520e77dc4 comment for clarity on function purpose 2011-05-20 00:48:41 -07:00
John Bender
118599748b comment whitespace 2011-05-20 00:43:53 -07:00
John Bender
15b93909f5 tests for nsNormalize 2011-05-20 00:42:11 -07:00
John Bender
7eb1085764 data attribute namespace normalization to comply with spec and jquery 1.6 changes 2011-05-20 00:31:27 -07:00
John Bender
2cff5c3380 whitespace in core tests 2011-05-20 00:30:05 -07:00