Commit graph

1685 commits

Author SHA1 Message Date
unknown
9caaa9cfde Added ability to control if $.mobile will automatically load first page/pages on dom ready using $.mobile.autoInitialize. 2011-02-01 22:04:05 -08:00
scottjehl
675deb1282 Merge remote branch 'origin/master' 2011-02-02 00:59:59 -05:00
scottjehl
c3b6e86e61 added a test to make sure the select element is inside the div-based button when native option is true 2011-02-02 00:59:54 -05:00
scottjehl
12b4506a0b removed a test for a case that didn't seem to be desirable, and was not currently true 2011-02-02 00:59:18 -05:00
scottjehl
2ff400bc98 fixed a test for div buttons in native select menus 2011-02-02 00:57:34 -05:00
scottjehl
746420de40 removed test as it was looking for markup that are no longer exists when the native select menu option is true 2011-02-02 00:41:25 -05:00
scottjehl
2061b5bc2b setting opacity to slightly greater than 0 fixes native selects in Firefox Mobile. At this point, the critical issues mentioned in 897 appear to be resolved. Fixes #897. 2011-02-02 00:36:41 -05:00
John Bender
4ddc5c7dd5 Merge branch 'changepagefix' of https://github.com/ajkovar/jquery-mobile into ajkovar-changepagefix 2011-02-01 21:36:24 -08:00
scottjehl
a763bade42 whitespace only 2011-02-02 00:33:53 -05:00
scottjehl
4a6ec54472 no default prevention is needed in native mode, as button is a div rather than an anchor. Also bound to change to remove the active class, which makes the native menu version's button state behave better in Opera Mobile 10.1 2011-02-02 00:25:12 -05:00
scottjehl
4023e1bf68 select menus also need blurring on transition. 2011-02-02 00:11:16 -05:00
scottjehl
cfceeced2e wrapped if condition order 2011-02-02 00:02:59 -05:00
toddparker
d76234b397 Content tweaks for form theme page, fixed a few broken links 2011-02-01 22:55:10 -05:00
toddparker
1644bca45b Added data-role="button" attributes to links because these were rendering as links only. Added link to form theming page. 2011-02-01 22:38:22 -05:00
toddparker
cd17ceda97 Updated the status of alpha 3 borwser support page 2011-02-01 22:30:45 -05:00
toddparker
4faa48288f Merge remote branch 'origin/master' 2011-02-01 22:04:53 -05:00
scottjehl
91ee3fbfca Merge remote branch 'origin/master' 2011-02-01 21:45:33 -05:00
Jesse Streb
e15ce80702 moved the setTimeout within the transition to be in the success handler of the ajax response. We now wrap the transitionPages that we call after injecting the new page into the DOM within the setTimeout which fixes the same issue but limits to pages that are injected into the DOM and makes it more clear why we have the setTimeout 2011-02-01 21:44:23 -05:00
scottjehl
0648247260 further shielding of non-native actions from native menus, and styled select within a parent div rather than anchor, when native is used. 2011-02-01 21:03:41 -05:00
scottjehl
36301b70bf optimizations to prevent unnecessary overhead of menu markup creation or manipulation when native select option is true. 2011-02-01 20:49:07 -05:00
Kin Blas
179061a4c9 Fix for Issue #678 - Select list offset above top of screen.
- Wait for the "silentscroll" event before setting focus. This avoids the "feature" where the browser will automatically offset rendering of a container to make sure whatever has focus is visible.
2011-02-01 17:14:15 -08:00
scottjehl
18f349bf37 make sure non-created pages are hidden. Fixes #946 2011-02-01 20:03:49 -05:00
scottjehl
70f4acdd04 selectmenu: moved the list building logic over to use an arrays and joins to speed things up. 2011-02-01 19:28:30 -05:00
scottjehl
698f7fd255 updated attribute for new option name 2011-02-01 15:50:40 -05:00
Alex Kovar
5b4dc3ab4a fixes for jquery.mobile.navigation.js to accommodate asynchronous changePage 2011-02-01 14:08:20 -06:00
Alex Kovar
eed66df3da testDone instead of testStart 2011-02-01 14:08:19 -06:00
Alex Kovar
d4c8c3cee2 fix for $.mobile.urlHistory test 2011-02-01 14:08:19 -06:00
Alex Kovar
aea4bfabfc fix for path.get test 2011-02-01 14:08:19 -06:00
Alex Kovar
1eed03cf0c Fixed issue with simultaneous page transitions. Closes gh-856
Conflicts:

	js/jquery.mobile.navigation.js
	tests/unit/navigation/navigation_transitions.js
2011-02-01 14:07:17 -06:00
scottjehl
aad8ac174a Removed the extra ways to set nativeMenu option in select plugin. Now like other plugins, the option is both available through the plugin's options (nativeMenu) or through a data-attribute (data-native-menu), which is automated through the camelcase option name. Unit tests updated 2011-02-01 13:27:35 -05:00
scottjehl
3f938fd2f9 fixed bug where a preset data-url was being prefixed by the base url, rather than replacing the whole hash. Fixes #591 2011-02-01 12:32:02 -05:00
scottjehl
6855363375 changing this selector to be more specific prevents an error in IE 7 (and win mobile). Support is coming :) 2011-02-01 11:53:32 -05:00
scottjehl
5e6e6019eb updated to jQuery 1.5 2011-02-01 11:37:00 -05:00
scottjehl
ae8964f7de fixed a bug in the class syntax 2011-02-01 10:41:46 -05:00
scottjehl
4930a42873 moved over to our class-based media query 2011-02-01 10:40:18 -05:00
John Bender
992fba1e7c fix for core tests. Note: pages can only be one level below the mobile viewport or bad things happen 2011-01-31 23:09:36 -08:00
scottjehl
e0d419d001 updated some docs pages to mention data-ajax="false" attribute on links. 2011-02-01 01:20:47 -05:00
Mark Schuette
f640646877 added the ability to use the default behavior of links with data-ajax=false 2011-02-01 14:13:04 +08:00
scottjehl
0572757af3 updated docs to describe new listview li-level data-theme option 2011-02-01 01:07:17 -05:00
chrisvire
d3376b7b5c Allow for data-theme attribute on list item 2011-02-01 14:03:36 +08:00
scottjehl
a5c8f86d10 links with no href attribute will not throw an error when clicked. Fixes #932 2011-02-01 01:01:41 -05:00
scottjehl
e00f007792 missed a name change in the unit test 2011-02-01 00:52:31 -05:00
scottjehl
da1c615c8a inset listviews with a single item will get appropriate visual treatment. Fixes #469 2011-02-01 00:37:24 -05:00
scottjehl
eb2845d1dc fixed one additional back button condition mentioned in issue #930 where the back button is added to a page that is directly linked with no hash. All navigation tests passing. https://github.com/jquery/jquery-mobile/issues/issue/930 2011-02-01 00:32:59 -05:00
scottjehl
6eefb23406 changed the name of urlHistory.listeningEnabled to urlHistory.ignoreNextHashChange. The name more accurately reflects the purpose of this internal toggle. Unit tests included. Also Fixes #930 2011-01-31 23:56:56 -05:00
scottjehl
92f863d062 typo in test description 2011-01-31 23:49:30 -05:00
scottjehl
4c4ccbd971 removed the position plugin script references 2011-01-31 23:48:13 -05:00
scottjehl
35b1df81e7 changePage was firing more than once because hash listening was not disabled long enough to prevent listening of the resulting async hashchange event after setting location.hash. This change makes urlHistory.listeningEnabled act as an internal toggle (as it used to), so it is only meant for ignoring a single hashchange event. A future change might be appropriate to change its name to something more like "ignoreNextHashChange".
Unit test included.

Fixes #930
2011-01-31 23:47:01 -05:00
scottjehl
3162428558 added hashListeningEnabled global flag. This is meant as a global config option for end users to disable hashchange listening (as opposed to urlHistory.listeningEnabled, which is an internal toggle). Unit test included. Fixes #748 2011-01-31 23:25:36 -05:00
scottjehl
3b5b615451 whitespace and code style 2011-01-31 22:43:17 -05:00