Commit graph

1966 commits

Author SHA1 Message Date
Kin Blas
d32a8a6bb4 Fixed some jslint warnings. It caught a missing comma that would've broken the file during a minify. < whew! > 2011-03-25 21:26:10 -07:00
Kin Blas
d62864b7de Add dummy mouse/click handlers on bind elements so that they remain clickable on Opera Mini. 2011-03-25 20:35:24 -07:00
Kin Blas
aa58b2a7e6 Added back blocking based on ancestry. Looks like we need to block on both proximity and ancestry to work around touch and mouse target differences. 2011-03-25 18:00:58 -07:00
Kin Blas
d06ff28bf6 Re-introduced the concept of blocking the mouse handlers from firing trigger. It was needed to fix select menus. Everytime you would click a select button, the click event was being intercepted by whatever select item appeared at the point of tap which set the value of the select. 2011-03-24 14:57:51 -07:00
Kin Blas
8c5faaf01d A better fix for the case where we have mismatched touch and mouse targets. 2011-03-21 17:09:18 -07:00
Kin Blas
e26601c438 Merge branch 'master' into fastclick 2011-03-21 12:28:58 -07:00
Alexander Wunschik
862c0119d9 Default cursor for listview deviders. Fixes #1244 2011-03-21 22:13:11 +08:00
Kin Blas
6b7c82a1dc Updated the scrollupdate trigger call to pass an array for the data. Apparently trigger requires an array as its second argument if you want to pass data to a callback. 2011-03-18 13:37:22 -07:00
Kin Blas
7f8438e966 Merge branch 'master' into fastclick
Conflicts resolved:
	js/jquery.mobile.forms.select.js
2011-03-18 09:15:01 -07:00
Kin Blas
fe8e13c9a9 Added code to deal with touch and mouse event target mismatches. This happens most often when the user touches a link, but his/her finger overlaps the link and areas outside of the link. In this specific case, the browser will generate touch events with a target that is the parent or ancestor of the link, but it will then generate mouse events with a target that is the link itself. We now catch this case and re-enable the mouse bindings so we can dispatch our virtual events appropriately. 2011-03-16 09:30:40 -07:00
toddparker
b3cfe8778f Added documentation on how to disable Ajax form submission via data- attribute and gloabl config. 2011-03-15 19:21:27 -04:00
scottjehl
143a8df256 less padding on select menu titles. Credit goes to oiva (Oiva Eskola). Thanks! 2011-03-15 19:04:58 -04:00
scottjehl
09ffa3aa5f Clarified data-ajax=false on forms. Fixes #1134 2011-03-15 18:49:39 -04:00
scottjehl
b9d0349975 Merge remote branch 'origin/master' 2011-03-15 18:23:31 -04:00
scottjehl
4e13021a53 fixed bug where clicking back twice after opening a dialog select was causing the main page to hide. history.back was being called twice in some cases when clicking the custom close button. Fixes #1007 2011-03-15 18:23:24 -04:00
John Resig
6138a57e67 Revert "Adding in a new :jqdata() selector for filtering data- attributes within the proper jQuery Mobile namespace."
This reverts commit da24d27796.
2011-03-15 15:05:22 -04:00
John Resig
da24d27796 Adding in a new :jqdata() selector for filtering data- attributes within the proper jQuery Mobile namespace. 2011-03-15 15:00:20 -04:00
scottjehl
83e7aeb4a5 when the select's options don't match the list item options, it should be rebuilt. Fixes #1240 2011-03-15 12:00:39 -04:00
John Bender
b56626fba1 added type attribute regex tests for the different ways that browsers serialize html 2011-03-14 23:50:20 -07:00
John Bender
cd654a4eae moved page unit tests back under anon function 2011-03-14 23:50:20 -07:00
John Bender
a987adb610 altered type attribute regex per @jblas, moved to 'private' prototype attribute for testing 2011-03-14 23:50:20 -07:00
scottjehl
3275baf64c added demo pages for inset filter lists 2011-03-15 00:08:01 -04:00
scottjehl
12616b310f didn't need the == true test. 2011-03-15 00:07:48 -04:00
hakanson
d16c46a6e9 format search filter for inset lists 2011-03-15 12:05:47 +08:00
scottjehl
6aa7db5fb5 changed the secondary icon color class name to ui-icon-alt instead of ui-icon-black. This will be best when creating custom themes that might use slightly different icon colors. 2011-03-14 23:55:41 -04:00
scottjehl
71ac285d4b Merge remote branch 'origin/master' 2011-03-14 23:47:25 -04:00
scottjehl
bd4e4a7eeb updated the retina sprite targeting to specifically apply to the icons in the sprite, and nothing broader. Credit for this commit goes to Adam Messinger (@adammessinger). Thanks Adam! 2011-03-14 23:47:16 -04:00
adammessinger
2bfdd02a51 Fix for issue #900: buttons with rel attribute set to external don't show active state 2011-03-15 11:30:19 +08:00
scottjehl
7f48419a29 This adds a fallback for navbars that have one item, so they simply fill 100%. Credit for this fix and idea goes to kennedyr (Richard Kennedy), but we changed the naming around a bit. Fixes #1107. Thanks Richard! 2011-03-14 20:26:20 -04:00
Dave Hulbert
11965092bb Fix for #1017 - Listview - remove hover/focus on read-only items 2011-03-15 07:52:11 +08:00
Phil Barnes
b740854ae7 Pass null event param for page _trigger beforehide and beforeshow -- Fixes issue #700 2011-03-15 07:41:32 +08:00
scottjehl
ddcacc1482 changed from ternary to || 2011-03-14 19:34:16 -04:00
scottjehl
330f866143 Merge branch 'bug_733' of https://github.com/eddiemonge/jquery-mobile into eddiemonge-bug_733 2011-03-14 19:31:15 -04:00
ray58750034
a4dc5888d0 add gridlayout test 2011-03-15 07:27:11 +08:00
ray58750034
50c2df122e set min-height of ui-block-* class, so the grid layout still work even some block doesn't contain any content. 2011-03-15 07:27:11 +08:00
scottjehl
6bcfd6f8d8 Merge branch 'bug/1151' of https://github.com/dave1010/jquery-mobile into dave1010-bug/1151 2011-03-14 18:49:57 -04:00
scottjehl
dedb54d15f set native select with custom button to opacity 0 instead of 0.0001. Note: I thought it was 0.0001 for a reason, but this checks out fine in WP7, WebOS, Android,iOS, Chrome, Safari, Firefox 4, Firefox 3.6, Opera Desktop & Mobile, IE 7
IE 8, IE 9, Blackberry 6. Sooo... that covers it. Fixes #1216
2011-03-14 18:44:31 -04:00
Kin Blas
562d89b762 Changes to reduce the number of times we traverse the parent hierarchy looking for virtual bindings when each event handler is called. 2011-03-14 14:25:25 -07:00
Kin Blas
9a431c89a5 Added $.support.eventCapture to detect support for listening for the event capture phase. We need this to disable vmouse touch support for WP7. We may be able to work around the lack of capture support in the near future, but until then, we fallback to just supporting mouse events. 2011-03-14 12:39:03 -07:00
Kin Blas
dbcf4d0373 Merge branch 'master' into fastclick 2011-03-14 11:38:00 -07:00
John Bender
84ac4ebbb2 fixed input type regex for ff. It puts the type attribute at the end of the html string and breaks the trailing space. Checked in ie7 2011-03-14 08:22:44 -07:00
John Bender
8943287c75 Revert "fixed failing slider tests in firefox by adding data-type to type=range inputs"
This reverts commit 6ca79aceb4.
2011-03-14 08:22:44 -07:00
scottjehl
faa01256fa Grouped buttons had extra margins. Fixes #1231 2011-03-14 11:13:47 -04:00
scottjehl
1457942367 Merge remote branch 'origin/master' 2011-03-14 08:29:32 -04:00
scottjehl
2b7a2669ac fixed a var typo. Thanks @mschroeder. 2011-03-14 08:29:17 -04:00
John Bender
6ca79aceb4 fixed failing slider tests in firefox by adding data-type to type=range inputs 2011-03-13 23:40:03 -07:00
John Bender
c629e34e74 fix for broken init test and some whitespace 2011-03-13 23:09:32 -07:00
scottjehl
fc0cd38c4e improved test for meta injects 2011-03-14 00:20:26 -04:00
scottjehl
f69c98caf0 gradeA adjusted to IE7 and up rather than 6 and up ( this still includes Windows Phone 7). Unit test adjusted to match 2011-03-14 00:20:26 -04:00
scottjehl
d08ff23765 fixed up path.clean test so it passes 2011-03-14 00:20:26 -04:00