Commit graph

2597 commits

Author SHA1 Message Date
toddparker
7a5c8b7e62 Re-vamped supported platform page to match the latest Beta 1 blog post. Added desktop browsers to the list. 2011-06-20 13:04:18 -04:00
scottjehl
46c0946633 Disable background on hidden buttons so that they don't appear in Opera Mini. Fixes #1862 2011-06-20 12:10:14 -04:00
scottjehl
45a71ac499 Added global config option "useFastClick", so that the changes we made for automated ajax handling since A4 can be disabled if needed, for whatever reason. When handling clicks and taps automatically with Ajax, this option will use jQuery Mobile's <code>vclick</code> event, enabling page changes to happen slightly sooner on devices that support touch events, and keeping the address bar hidden during page transtions. When disabled, the automatied Ajax handling will use an ordinary <code>click</code> event instead. This option has no effect on non-touch devices, but when enabled, it may interfere with jQuery plugins that bind to click events rather than vclick events. Fixes #1857 2011-06-20 11:35:09 -04:00
scottjehl
823485ce11 Blur other buttons when a new one is clicked and gaining focus. This gets rid of the trail of focus states issue we've been seeing. Fixes #1840. 2011-06-19 14:34:36 -04:00
scottjehl
84f4d9dc3c switched the order so that scroll check happens earlier. 2011-06-19 14:20:19 -04:00
scottjehl
a09c53eb71 improved the address bar hiding logic to support Android as well by determining up-front which hiding number should be used. Fixes #1673. Fixes #1322. Fixes #1786. 2011-06-19 13:53:27 -04:00
scottjehl
ca0c1165fd should be bound to throttled resize as well, actually. 2011-06-19 08:00:10 -04:00
scottjehl
8c6164dbf0 Added new throttledresize special event, including unit tests. This event prevents browsers from running continuous callbacks on resize, which we use internally for orientationchange in browsers like IE. It still ensures that a held event will execute after the timeout, so logic that depends on the final conditions after a resize is complete will still execute properly. This improves performance noticeably, and... Fixes #1496. Fixes #1848. Fixes #1422.
The included tests pass most of the time, but they need improvements as they will occasionally fail due to faulty timing in the tests themselves, as far as I can tell (the code tests out fine in our functional demos).
2011-06-18 11:41:47 -04:00
scottjehl
c4491d279f fixed unit tests to use new orientationchange logic, which no longer binds to resize event. 2011-06-18 10:45:36 -04:00
scottjehl
ee424f5f97 only bind to orientationchange, as resize is built into it already as a fallback 2011-06-18 10:43:11 -04:00
scottjehl
90fb871ee8 referenced the full object to avoid a minifier issue when trying to reference a local variable. Will follow up on this... 2011-06-18 09:19:45 -04:00
scottjehl
9ab7817b5b native forms example page was missing a meta viewport. 2011-06-18 08:16:49 -04:00
Kin Blas
18d7b7902c Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-06-17 18:22:46 -07:00
Kin Blas
9f4ae3ba79 Documenting isSameDomain(), isRelativeUrl(), isAbsoluteUrl(), makePathAbsolute(), and makeUrlAbsolute(). 2011-06-17 18:22:00 -07:00
scottjehl
06020201fc fixed up the themeswitcher 2011-06-17 19:25:35 -04:00
scottjehl
ffa35c0548 improved minheight page logic 2011-06-17 19:19:47 -04:00
scottjehl
fcbfc2f380 added minScrollBack feature to core options. This is the minimum scroll distance that will be jumped-to when returning to a page. By default, the distance is screen.height /2. If you really needed to disable scroll memory altogether, this could be set to Infinity. Note that disabling scroll memory altogether is almost never a good idea for usability, but the option is there. 2011-06-17 19:19:47 -04:00
scottjehl
3bd713c185 added resetActivePage on pagecreate, orientationchange, and after transitions. 2011-06-17 19:19:47 -04:00
scottjehl
690dc66f7c set heights including respective scrolls 2011-06-17 19:19:46 -04:00
scottjehl
aa950ba125 Only call scrollTo if there's a scroll distance we need to go to. If the distance we're jumping to is 20px or less, let it go in for tolerance. Reset toPage height before scrolling, focusing. 2011-06-17 19:19:46 -04:00
scottjehl
df7ac2f642 fix up the page heights during transitions, and min-heights otherwise. 2011-06-17 19:19:46 -04:00
scottjehl
ed7aae1d1c hide address bar during page changes by catching ajax clicks early through binding to touchend, and make pages fit screen height during transitions 2011-06-17 19:19:46 -04:00
scottjehl
d636421f95 Merge remote branch 'origin/master' 2011-06-17 19:03:01 -04:00
scottjehl
758e430653 fixed theme inheritance on filter lists in IE7. 2011-06-17 19:02:53 -04:00
toddparker
849c533839 Fixed page title 2011-06-17 18:46:04 -04:00
toddparker
101d40e7f2 Removed beta support block 2011-06-17 18:45:19 -04:00
toddparker
30e085c05b Merge remote branch 'origin/master' 2011-06-17 18:44:14 -04:00
toddparker
79391e8d66 Updated supported browser info for beta. 2011-06-17 18:43:58 -04:00
toddparker
82d66252ad Updated support platform list to match beta 1 2011-06-17 18:40:54 -04:00
scottjehl
722ed2cbbf If ajax is disabled, exit the click handler early and avoid parsing the href at all. Thanks for the idea, @toddparker! Fixes #1846. 2011-06-17 18:33:16 -04:00
toddparker
b3aa56582c Added a warning about the use of the flip transition on Android. 2011-06-17 16:37:28 -04:00
Kin Blas
29df5c6a3c Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-06-17 12:30:31 -07:00
Kin Blas
93d3551f9c Documenting $.mobile.path.parseUrl(). 2011-06-17 12:29:50 -07:00
Todd Parker
1d5e6b330a Merge pull request #1845 from gseguin/tests
Fixed test for "Programmatic removal of list items"
2011-06-17 12:09:31 -07:00
Ghislain Seguin
a6533e3676 Fixed test for "Programmatic removal of list items"
(cherry picked from commit 5d4bf2d5412c900fbcd093f1a3549a34dbab8e6c)
2011-06-17 11:59:05 -07:00
Kin Blas
525543b06d Merge pull request #1662 from gseguin/issue-1654
Issue 1654
2011-06-17 09:41:22 -07:00
Ghislain Seguin
ff8517c915 Merge remote-tracking branch 'upstream/master' into issue-1654
Conflicts:
	tests/unit/listview/listview_core.js
2011-06-17 09:37:36 -07:00
scottjehl
1dd6608829 remove active button state on buttons that close dialogs. Fixes #1839 2011-06-17 02:11:59 -04:00
Scott Jehl
0cff6336bd Merge pull request #1489 from bernharduw/master
Radio buttons in nested listviews don't work. Fixes #1486
2011-06-16 22:41:16 -07:00
scottjehl
b787ef1015 Updated documentation for theming the list view filter search box. (cherry-picking from commit b39dab88d8567ddc40f87eca718e12d29cbd4df7)
Credit to @adamvaughan for this change.
2011-06-17 01:32:50 -04:00
scottjehl
d2a6397983 added list filterTheme option. Available as data attribute data-filter-theme on listviews with filters enabled. Fixes #1790 - List view filter can not be themed.
Thanks for the idea @adamvaughan! Docs update coming next.
2011-06-17 00:59:17 -04:00
Scott Jehl
004f67d384 Merge pull request #1817 from wtw/master
Fixes #1549.
2011-06-16 21:29:12 -07:00
scottjehl
6f6f9cd3fc Fixed typo in test url. 2011-06-17 00:26:48 -04:00
Scott Jehl
aaba7a5621 Merge pull request #1802 from eddiemonge/patch-2
edited README.md with updates and patching help url
2011-06-16 21:25:59 -07:00
scottjehl
fd738c5b04 Modified the listview thumbail-finding logic to specifically find first children of the li or the primary button's inner anchor element. Fixes #1794. Fixes #1458 2011-06-17 00:21:11 -04:00
Scott Jehl
cc809da95c Merge pull request #1828 from eddiemonge/bug_1825
Code guideline styling changes for collapsible.js
2011-06-16 20:59:23 -07:00
scottjehl
e06ae4a5b9 rolled back the change to looking up list filter placeholders. Seems to work fine as it was originally. Added a custom placeholder to the listview filter with headings demo page. 2011-06-16 23:47:04 -04:00
Scott Jehl
60f80b9473 Merge pull request #1838 from adamvaughan/issue1836
Fix for issue 1836 - List view filter placeholder data attribute is not used. Edits coming after this commit.
2011-06-16 20:37:40 -07:00
Scott Jehl
fb8ad44a94 Merge pull request #1842 from gseguin/issue-1595
Fix for issue #1595
2011-06-16 20:30:28 -07:00
Ghislain Seguin
00bd49a414 issue #1595: Back button gets clipped when there is no title 2011-06-16 17:25:59 -07:00