Commit graph

2582 commits

Author SHA1 Message Date
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
Kin Blas
712e7b01a8 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-06-16 15:44:49 -07:00
Kin Blas
96b3e710d4 Added utility functions $.mobile.getDocumentBase() and $.mobile.getDocumentUrl() so that developers can retrieve the original base and url used when loading the document. 2011-06-16 15:43:40 -07:00
Kin Blas
6e7e4d0c7a Merge pull request #1841 from gseguin/issue-1816
Fix for issue #1816
2011-06-16 15:41:40 -07:00
Ghislain Seguin
c3e501541a Fix for issue #1816: $(select).selectmenu('disable') causes issues on iOS for native selects 2011-06-16 15:39:09 -07:00
Kin Blas
0ec7c3c54a Changed the description of the role option for loadPage() and changePage() to reflect some changes to the default value I just checked in. 2011-06-16 15:18:42 -07:00
Kin Blas
8b6d14bb03 Fix for issue 1826 - Nightly build - dialog box no longer rounded corners
- Don't set a default value for the 'role' option to loadPage() and changePage(). Instead, rely on the role attribute that is on the element.

- Fixed an error that was happening when a hash change involves going from a dialog back to another dialog. I had recently made changes that assumed the 'to' variable was always going to be a url string, but it turns out in the dialog back to dialog case, it is an actual jQuery collection.
2011-06-16 13:36:39 -07:00
Adam Vaughan
d1a958d1d7 Fix for issue 1836 - List view filter placeholder data attribute is not used. 2011-06-16 11:46:04 -06:00
Kin Blas
d2f115349a Fix for issue 1833 - No page transition used when hitting the browser forward button
- Don't use the transition of the initial page on the stack.
2011-06-15 15:28:52 -07:00
Kin Blas
ca4428c430 - Update changePage() documentation to match current implementation.
- Added entry for loadPage().
2011-06-15 13:58:08 -07:00
jblas@adobe.com
dd69372dd4 Adjusted the urlParserRE regexp to account for double slashes in the directory path to work around a phonegap 0.9.4. 2011-06-15 10:37:08 -07:00
Eddie Monge
0de386eda9 Code guideline styling changes for collapsible.js 2011-06-14 15:32:57 -07:00
Todd Parker
7e40ddff4e Merge pull request #1803 from eddiemonge/combine
minor changes to combine.php
2011-06-14 11:42:40 -07:00
Kin Blas
c011f51f14 Removed unused path.isRelative() function. Replaced unit tests for isRelative() with tests for path.isRelativeUrl. 2011-06-13 16:45:10 -07:00
Kin Blas
41349de54f Add some tests for the use case where the document URL is different from the document base. 2011-06-13 15:26:19 -07:00
Kin Blas
aca0caa1e3 Merge branch 'master' into path-fixes 2011-06-13 15:20:01 -07:00