John Bender
e30ece11ac
added immediate function to prevent scoping issues in core unit tests
2011-01-22 22:39:32 -08:00
John Bender
b671753039
moved page above core in the makefile, build xml, and manifest under js. Fixes #619
2011-01-22 22:31:16 -08:00
scottjehl
20775a532a
Merge remote branch 'origin/master'
2011-01-22 17:48:46 -05:00
scottjehl
6a958ecba2
merge
2011-01-22 17:48:36 -05:00
scottjehl
9e4b0a484c
Overhauled path object and exposed it and the base object via $.mobile. Form and Link handlers now use the path methods internally. Unit tests adjusted, but more are needed to fully cover the path and base propeties and methods. Fixes #566 .
2011-01-22 17:42:07 -05:00
toddparker
737a487999
Removed a few theme overrides on these pages so they look like the rest of the docs.
2011-01-22 16:36:20 -05:00
toddparker
1e5013cb9b
Tweaked swatch C hover style to increase contract to improve navigation with directional controller on Android.
2011-01-22 16:24:44 -05:00
scottjehl
cb2de36865
more outline disabling
2011-01-22 14:46:58 -05:00
scottjehl
2a06226def
removed outlines on active states. Left them open on focus.
2011-01-22 14:44:50 -05:00
scottjehl
17663605ce
changed up the contrast a bit, particularly on hover/focus. Makes joystick/key navigation easier. Fixes #845
2011-01-22 14:26:58 -05:00
scottjehl
6fb50fd289
use inArray instead of indexOf. Fixes #828
2011-01-22 14:04:04 -05:00
scottjehl
fbb2fc2c60
lengthened timer for Android, and added a check to let through the same event type for double-taps.
2011-01-21 18:29:28 -05:00
scottjehl
aa0a61c407
followup on previous commit. made sure devices with both touch and mouse events work with either input type. Also fixed regression with radio inputs.
2011-01-21 18:13:02 -05:00
scottjehl
38c1c24e5d
moved check/uncheck event on label to touchend/mouseup. Fixes #753
2011-01-21 17:45:22 -05:00
scottjehl
a1cb31a2c7
navbar removes active state but doesn't apply new one. Now it does. Useful in js-generated links. Fixes #669
2011-01-21 16:20:33 -05:00
scottjehl
37f9680c0f
only the first image should be an icon/thumb. Fixes #699
2011-01-21 15:33:40 -05:00
John Bender
e5d2bf1b66
added target check to $.mobile.isExternalLink
2011-01-20 23:05:37 -08:00
John Bender
b2817375f4
altered innacurate test result message
2011-01-20 22:22:47 -08:00
John Bender
ffafa78e62
added tests for external links in dialogs, small refactor for dialogClickHandler function
2011-01-20 22:20:16 -08:00
scottjehl
52f86f2f9a
make sure first textnode of li is used in listview title, regardless of newline chars. Test included. Fixes #715
2011-01-20 17:48:44 -05:00
scottjehl
bfa6f6a3af
Merge remote branch 'origin/master'
2011-01-20 16:28:28 -05:00
scottjehl
48b69b7a71
loading message opens above offset of active button, when possible. This makes it visible on devices that don't support scrollTop (webOS, etc)
2011-01-20 16:28:23 -05:00
Kin Blas
e4042266fb
Fix for issue 841 - Persistent footers persist even when going to other pages that don't have footers or don't have footers with the same data-id.
...
This was a regression I caused with my previous checkin. The fix is to simply null out stickyFooter in the pagebeforeshow callback.
2011-01-20 12:51:28 -08:00
Kin Blas
161f5e6ae3
Removed jquery.js from js/index.php and updated all html doc/experiments/test files that incuded "js/" so that they also include jquery.js manually.
...
This makes our include model match the include model on the CDN, and allows devs to make use of mobileinit for debugging some of the samples since that must be set up after jquery.js, but before jquery-mobile.
2011-01-20 11:26:12 -08:00
John Bender
beb40bcd7f
corrected link to multi page template to have rel external per the docs
2011-01-20 00:38:07 -08:00
John Bender
fedb0a7366
added tests for external link function
2011-01-19 23:57:51 -08:00
John Bender
8a5060de13
fixed issue with dialog click handler breaking transitions on external links Fixes #642
2011-01-19 23:48:30 -08:00
John Bender
dcf9a19c31
whitespace issues in mobile core
2011-01-19 21:43:36 -08:00
scottjehl
f85e4c916b
small workaround to get media query function to work on Nokia
2011-01-19 16:35:15 -05:00
Kin Blas
02c9264f0d
Fix for issue 613 - Jquery Mobile ignores original 'base' tag defined in HTML
...
- Fixed baseTagTest() in jquery.mobile.support.js, so that it uses any pre-existing base tag for testing. This fixes the bug on Webkit (Safari) where the relative paths for links were being resolved/expressed with the document path instead of the original base path.
- Modified the base code in jquery.mobile.navigation.js so that it uses the initial path of a pre-existing base tag, instead of always using the document path. This means that a document with a URL such as:
http://foo.com/a/b/c#docs/pages/index.html
That uses a base tag like:
<base href="http://foo.com/bar/ ">
Will resolve properly:
http://foo.com/bar/docs/pages/index.html
so the mobile page gets loaded properly.
- Reduced the path.get() function down to a couple of regexp replace() calls.
2011-01-18 09:18:22 -08:00
John Bender
b9bfa41846
poorly written comment
2011-01-15 23:36:59 -08:00
John Bender
cc307ec902
tests for large select dialog issue
2011-01-15 23:15:17 -08:00
John Bender
f850311935
force previously created dialog for long menus. Fixes #807
2011-01-15 22:47:44 -08:00
John Bender
d4f4d474d1
whitespace cleanup for mobile forms select
2011-01-15 22:44:00 -08:00
Kin Blas
fde3aaaad5
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-01-14 13:40:04 -08:00
Kin Blas
cd344f0440
Fix for Issue 811 - All resolution breakpoint classes added to <html> element, throws off label and form element flow on narrow screens.
...
- We were firing off our fake orientationchange event before the viewport meta tag is injected. This causes us to get the default document width for the device which is much wider than the actual device-width. We now fire off the event after the dom ready event fires.
2011-01-14 13:37:47 -08:00
maggiewachs
b6ec29a7e5
Fixed bug 676 where the switch toggle (slider) wasn't updating on select change:
...
https://github.com/jquery/jquery-mobile/issues/labels/5%20-%20Critical#issue/676
2011-01-14 16:06:18 -05:00
scottjehl
7cf5aea8e3
fixed up those busted select menu headers. Fixes #810
2011-01-14 15:49:21 -05:00
scottjehl
3b92410ff3
some additional changes to make scrolling from a select button work ok.
2011-01-14 15:16:03 -05:00
Pavel Karoukin
5b4c23b67d
add data-url to dialog 'pages' as well
2011-01-14 23:44:25 +08:00
Pavel Karoukin
794adfeca0
Click on form in dialog prevents exit from dialog
2011-01-14 23:44:24 +08:00
scottjehl
87c7b57da9
allow scroll to work when touch start begins on a select button. Fixes #804
2011-01-14 10:35:26 -05:00
Jonathan Hinkle
0413542753
rename selectmenu's exposed "options" to "optionElems" to avoid conflict with existing variable containing configuration options
2011-01-14 22:48:51 +08:00
scottjehl
4b53be8f45
removed hidden overflow rule, which makes page transitions a little cleaner on the desktop, but more importantly, Fixes #446 , Fixes #678
2011-01-13 18:08:59 -05:00
toddparker
dbdcffd505
Removed instances of hex color shorthand in filters to fix potential IE issues
2011-01-13 17:46:33 -05:00
scottjehl
adcc106bbe
Merge branch 'issue764' of https://github.com/ehynds/jquery-mobile into ehynds-issue764
2011-01-13 16:32:35 -05:00
scottjehl
7cd3d81e5d
Merge remote branch 'origin/master'
2011-01-13 16:23:04 -05:00
ehynds
f9c1592bc7
fix extra-wide pages in opera & opera mini
2011-01-12 18:00:53 -05:00
ehynds
9e6a3df6b1
make sure the options cache is updated after a refresh, and that the click handler reads from this cache.
2011-01-12 22:01:50 +08:00
Jesse Streb
924c2c3e9b
updated select to no longer wrap the input element as it is already jQuery object. Thanks ehynds.
2011-01-12 08:01:37 +08:00