Commit graph

2501 commits

Author SHA1 Message Date
Kin Blas
eb082c27e3 Merge branch 'master' into path-fixes
Fixed Conflicts:
	js/jquery.mobile.navigation.js
2011-06-08 15:10:16 -07:00
Kin Blas
8e1e77badf Get deep linking to internal pages working again. We can now also deep link to nested list sub-pages that are contained within internal pages. 2011-06-08 15:06:41 -07:00
scottjehl
93e7afd4b1 make sure nested collapsible sets don't toggle their parent collapsibles when expanded. Fixes #1387 2011-06-08 18:00:26 -04:00
Kin Blas
33b9ee8052 Changes to make sure the data-url are either an id, site relative path (for same domain), or absolute Url (for cross-domain Phone Gap). 2011-06-08 14:47:24 -07:00
scottjehl
f8957baec7 make sure options don't get text-indented. Fixes #1717 2011-06-08 16:37:42 -04:00
Todd Parker
4497d138f2 Merge pull request #1782 from gseguin/nested-lists
Beefed up nested lists test
2011-06-08 07:39:34 -07:00
Kin Blas
a99728d178 - Added addSearchParams() utility function.
- Removed unused path functions: setOrigin(), makeAbsolute(), and isQuery().
- Modified loadPage() so that it uses addSearchParams() instead of naively appending it to the URL.
- Switched the global "click" handler back to using the link @href attribute and manually converting it to an absolute URL. This was necessary because it turns out that the href property on a link is dynamically calculated at the time of access based on the *CURRENT* base tag setting. This means the same link can return a different href value if the the base tag is different each time you access it.
2011-06-06 15:58:21 -07:00
Kin Blas
3a2a35f8f2 Merge pull request #1784 from gseguin/master
Whitespace change
2011-06-06 08:34:38 -07:00
Kin Blas
19f1a775b9 Missed a couple of places I should've used hrefNoHash when I converted documentBase to an urlObject. 2011-06-04 10:51:41 -07:00
Kin Blas
f9dd767528 Switched form handler over to processing absolute urls. 2011-06-04 01:22:16 -07:00
Kin Blas
ba502f0aff Changes to switch the global link click handler over to processing absolute urls. 2011-06-04 00:26:25 -07:00
Ghislain Seguin
9d3862c825 Whitespace change 2011-06-03 19:02:13 -07:00
Kin Blas
b148ee424a Added isSameDomain() Utility function. 2011-06-03 13:57:25 -07:00
Ghislain Seguin
6af27f9a7e Beefed up nested lists test 2011-06-03 11:06:44 -07:00
Kin Blas
c88f5fc251 Merge pull request #1781 from gseguin/nested-lists
Nested lists id generation
2011-06-03 10:58:43 -07:00
Ghislain Seguin
888a3d4faf Fixed nested lists tests following id generation change (8373105) 2011-06-03 10:55:04 -07:00
Ghislain Seguin
3ee2585cba Fix for issue #1617: Nested lists with same parent text resolve to the same sub-page. 2011-06-03 10:55:04 -07:00
Ghislain Seguin
14492002e2 Fixed test case for issue #1617 2011-06-03 10:55:04 -07:00
Kin Blas
9e696b8d26 Backing out commit for "fix height issue for transitioning page"
https://github.com/jquery/jquery-mobile/pull/1723
b2a534c217

It was causing a few issues including:

https://github.com/jquery/jquery-mobile/issues/1770
2011-06-03 09:29:41 -07:00
Kin Blas
fad61785fe Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-06-02 16:54:14 -07:00
Kin Blas
489fc19fb1 Unit test to catch issues like 1767.
- Test passing string as data option to changePage().
- Test passing object as data option to changePage().
2011-06-02 16:52:36 -07:00
Kin Blas
97ba431f92 Merge pull request #1771 from eddiemonge/makefile_deploy
Makefile: Remove log as the info is now in the files from the nightly/lat
2011-06-02 14:33:48 -07:00
Kin Blas
b31825a1d7 Fixed issue 1767 - loadPage/changePage broken in trunk (latest build)
- Not sure how/why I added that extra absUrl, but its gone now.
2011-06-02 10:41:55 -07:00
eddiemonge
757dda99d0 Makefile: Remove log as the info is now in the files from the nightly/latest build. Fix output name for the same 2011-06-02 09:49:21 -07:00
Kin Blas
a2182dafa9 - Added a getClosestBaseUrl() utility function for calculating the correct base URL to use for a given element.
- We should be using makeUrlAbsolute() instead of makePathAbsolute() when calculating the documentBase.
- Removed bogus code in pathname calculatino in makeUrlAbsolute().
- Reworked calculation of search in makeUrlAbsolute() to prevent an undefined in the case where rel and abs urls have no search.
2011-06-01 17:15:18 -07:00
Kin Blas
3ca5dd854a - Added URL parsing and relative to absolute path and url utility methods.
- Switched the base tag management code over to using new utilities.
2011-06-01 11:59:13 -07:00
Kin Blas
6a2deead0f Merge pull request #1724 from eddiemonge/dialogToCodeStandards
Dialog to code standards and refactor a bit
2011-05-31 14:48:05 -07:00
eddiemonge
244cda822a add white space for code standard 2011-05-31 14:44:31 -07:00
eddiemonge
0438418175 merge changes 2011-05-31 14:41:54 -07:00
Kin Blas
a5d3c05e4b Merge branch 'dialogToCodeStandards' of https://github.com/StevenBlack/jquery-mobile into StevenBlack
Fixed Conflicts:
	js/jquery.mobile.dialog.js
2011-05-31 14:14:05 -07:00
eddiemonge
d3df858eea missed an equal sign 2011-05-27 12:13:48 -07:00
Kin Blas
991db0de46 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-05-27 10:55:20 -07:00
Kin Blas
ef9d55f4b6 Hopefully the last set of fixes for issue 1712 - $.mobile.changePage broken in latest
- The test case calls changePage() with a hash ("#b"). In our normal processing of clicks/form submits we strip it before calling. The old code did a strip in changePage() just in case, so I added it back in to fix the last bug.
2011-05-27 10:53:19 -07:00
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
eddiemonge
371efce3c3 actually use the defined variables 2011-05-26 17:20:56 -07: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