Commit graph

3270 commits

Author SHA1 Message Date
Kin Blas
1a92be0240 Fix for issue 2406 - Navigation from one page back to multi-page template
- Make sure that our hashchange resolves non-path hashes against the documentBase. This prevents the resulting changePath() call from incorrectly resolving against the URL for the current active (external) page.

- Fixed a problem in the push-state code. A hashchange event is *NOT* fired when navigating back (window.history.back()) from an external page to an internal page. This makes sense when you think about it since hashchange is only ever fired when the hash of the current document url changes, not when the document url itself changes. The fix was to make sure that the pushstate hashchange callback always sets a state object, even on embedded page URLs. This allows the hashchange callback to be triggered from within onPopState().
2011-09-13 00:23:03 -07:00
John Bender
824bd12e12 add tests for theme inheritance in select menus 2011-09-12 09:08:48 -07:00
John Bender
ee6027a196 prefer defined theme from prototype or data options Fixes #2423 2011-09-12 09:08:48 -07:00
jblas@adobe.com
6a4bd76a9c Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-09-09 18:26:21 -07:00
jblas@adobe.com
c348266166 Fixed the page last scroll test which has been failing for a few days now. 2011-09-09 18:25:43 -07:00
John Bender
97654c2d90 tests for newly refreshed items and button update with custom selects 2011-09-09 17:27:26 -07:00
John Bender
59fc26d25f fix refresh bug for new options of the same number as before 2011-09-09 17:27:26 -07:00
Ghislain Seguin
2c55c93464 Merge pull request #2419 from zachleat/master
fieldcontain comment was copy pasted on links, nojs plugins.
2011-09-09 14:16:01 -07:00
zachleat
92151822b8 Incorrect comment text on the headers of two plugins. 2011-09-09 16:07:31 -05:00
scottjehl
2dadb4dbc4 Merge remote branch 'origin/master' 2011-09-09 12:28:17 -04:00
scottjehl
2369e2fa32 improved qualifications so that iOS5 gets the old-style fixed headers and footers when touchOverflow is disabled (which is the default). 2011-09-09 12:27:59 -04:00
John Bender
fab4f366a4 test for issue 2410, to verify that the button value is updated on refresh with new options 2011-09-09 09:14:39 -07:00
John Bender
729757b465 create selectOptions method so the values stay current across dom changes Fixes #2410 2011-09-09 09:00:46 -07:00
John Resig
0b83cf8d60 Tweak some more stylesheet formatting. 2011-09-08 21:35:28 -04:00
John Resig
dc8f8e7103 Fix whitespace in headers for the build script. 2011-09-08 21:14:03 -04:00
John Resig
f8e056bb29 Version 1.0b3 released. 2011-09-08 17:05:10 -04:00
Kin Blas
bdbb1bcc7e Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-09-08 13:48:01 -07:00
Kin Blas
675657f877 Added an index page for the dynamic-samples directory and linked to it from the age-dynamic.html page. 2011-09-08 13:46:18 -07:00
Kin Blas
92699e0011 Merge branch 'master' into data-driven-with-fallback 2011-09-08 13:38:06 -07:00
Kin Blas
b3ce277152 Moved scottjehl's modified sample to a new file (sample-reuse-page-external.html) and restored the original code in sample-reuse-page.html. 2011-09-08 13:35:42 -07:00
toddparker
7942e3333d Merge remote branch 'origin/master' 2011-09-08 16:01:00 -04:00
toddparker
7d2b6f839b Updated docs for beta 3 2011-09-08 16:00:54 -04:00
scottjehl
6e0912f3b5 progress towards making this demo work with urls that represent server resources 2011-09-08 15:58:53 -04:00
Kin Blas
f894d4704b Adding links to page-dynamic.html to all menus. 2011-09-08 12:34:48 -07:00
Kin Blas
95f1d5c6df Fixed the broken sample link. 2011-09-08 12:03:43 -07:00
Kin Blas
4a5b804df9 Added more content. 2011-09-08 12:00:57 -07:00
Kin Blas
889d4b5acf Corrected a grammatical error in one of the sample comments. 2011-09-08 11:30:02 -07:00
Kin Blas
711a552bfb Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-09-08 11:27:26 -07:00
Kin Blas
64537fa8c0 Removed some debug code from sample-reuse-page.html.
Checking in the start of a doc that walks folks through how to use the pagebeforechange event to short-circuit default changePage() behavior.
2011-09-08 11:26:22 -07:00
gseguin
6f5a7d1266 Fix for issue #2404
Collapsible are collapsed by default
2011-09-08 13:34:58 -04:00
gseguin
3ba911a6f8 jshint was complaining about .this 2011-09-08 13:34:58 -04:00
scottjehl
82a9a5bb3f documented the new touchOverflowEnabled configuration property. 2011-09-08 13:33:26 -04:00
scottjehl
f49e69ef84 disabled iOS5 improvements by default. Can be enabled by binding to mobileinit and setting $.mobile.touchOverflowEnabled = true; 2011-09-08 13:26:33 -04:00
scottjehl
b645781f4d implemented native overflow scrolling based on support for -[prefix]-overflow-scrolling: touch. True fixed headers and footers come supported as well. 2011-09-08 12:38:50 -04:00
scottjehl
bb4e1ca275 removed image dimensions in demo page 2011-09-08 12:38:50 -04:00
scottjehl
bc036b91b0 Clock tap is busted, so this logic is here but commented-out 2011-09-08 12:38:50 -04:00
scottjehl
fda71670b4 reset scrollTop to 0, not defaultHomeScroll 2011-09-08 12:38:50 -04:00
scottjehl
6333be5ddf changed the docs bg image so it doesn't act fixed in iOS5 2011-09-08 12:38:50 -04:00
scottjehl
1a524756f3 added a pre-transition class to set pages to display: block early and allow for their scrollTop and focus to be set before they are shown. 2011-09-08 12:38:50 -04:00
scottjehl
440be55f2b changed the name of the overflow support test and class to touchOverflow / touch-overflow 2011-09-08 12:38:50 -04:00
scottjehl
c8e676d591 applied conditional overflow scrolling to page div 2011-09-08 12:38:50 -04:00
scottjehl
dae560d67f added support test & html class for overflow-scrolling-touch 2011-09-08 12:38:49 -04:00
scottjehl
2f63fdf3ec Merge remote branch 'origin/master' 2011-09-08 12:32:27 -04:00
scottjehl
bf02fc880d increased timeout that waits for a potential hashchange event to fire as a result of pop. 2011-09-08 12:31:59 -04:00
Kin Blas
fcbd4c3030 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-09-08 09:24:16 -07:00
Kin Blas
78041bc7c9 Added path.isFirstPageUrl() which is now called from loadPage() when trying to determine if the URL being loaded refers to a page that is already in the DOM. This will prevent us from duplicating the first-page in the main application document.
Also checking in the first example of how to use the pagebeforechange notification to allow for dynamically updating and re-using a page that is already in the DOM.
2011-09-08 09:21:31 -07:00
scottjehl
db3dbc04d2 Merge remote branch 'origin/master' 2011-09-08 11:59:43 -04:00
scottjehl
7be8311d4e added location.search to the original page data-url 2011-09-08 11:58:55 -04:00
toddparker
557da74be0 Fixed typo in button state active default docs. Closes #2403. Thanks jasonrsavino! 2011-09-08 11:30:42 -04:00
toddparker
2dc25539b6 Merge remote branch 'origin/master' 2011-09-08 10:59:06 -04:00