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
|
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 |
|
scottjehl
|
09ffa3aa5f
|
Clarified data-ajax=false on forms. Fixes #1134
|
2011-03-15 18:49:39 -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 |
|
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
|
a987adb610
|
altered type attribute regex per @jblas, moved to 'private' prototype attribute for testing
|
2011-03-14 23:50:20 -07: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 |
|
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 |
|
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 |
|
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 |
|
scottjehl
|
2b7a2669ac
|
fixed a var typo. Thanks @mschroeder.
|
2011-03-14 08:29:17 -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
|
6ecb99c936
|
typo in selector for finding meta[viewport] element
|
2011-03-14 00:20:26 -04:00 |
|
scottjehl
|
d3a170db09
|
moved the IE test to support.js, added a workaround to the listview refresh method to prevent default on mousedown, which makes the tap highlight color look right in Windows Phone 7. Without this workaround, it still works fine, but the entire listview is highlighted when an LI is clicked.
|
2011-03-14 00:20:25 -04:00 |
|
scottjehl
|
4c42be503d
|
tabindex shouldn't be -1 on nativemenu button
|
2011-03-14 00:20:25 -04:00 |
|
scottjehl
|
7aab355ffb
|
some fixes to make checks and radios work in Windows Phone 7. The labels were not being found through the selector, but finding all labels and then using the filter method seemed to work fine. Other than that, this push includes a little DRY cleanup here and there.
|
2011-03-14 00:20:24 -04:00 |
|
scottjehl
|
c4685ac14f
|
replace the current path in the url when checking if it's a null # href. This ensures # hrefs won't follow default behavior in IE / Win Phone.
|
2011-03-14 00:20:24 -04:00 |
|
scottjehl
|
793d03b2e6
|
adjusted input element replacement regexp to account for non-quoted type attributes when replacing markup. This change lets things work properly in IE, so plugins like the slider now get enhanced.
|
2011-03-14 00:20:24 -04:00 |
|
scottjehl
|
60d75f008c
|
fixed Ajax navigation in Windows Phone 7. Since all urls are absolute in IE, we need to check if the href has a protocol up front, and if so, later on, make sure we don't prefix it with a base path because it doesn't need one.
|
2011-03-14 00:20:24 -04:00 |
|
scottjehl
|
8cb9923055
|
gradeA test was missed in the update. back in now, with IE 6+ enabled.
|
2011-03-14 00:20:24 -04:00 |
|
scottjehl
|
aa31e01d63
|
updated to latest core js, with deprecation note
|
2011-03-14 00:20:24 -04:00 |
|
scottjehl
|
5b1f586cdb
|
added meta back. This is now deprecated for A4 in favor of putting the viewport meta directly in the markup.
|
2011-03-14 00:20:24 -04:00 |
|
scottjehl
|
dcbe844f5c
|
brought back meta definition. This is now deprecated in A4
|
2011-03-14 00:20:23 -04:00 |
|
scottjehl
|
b38113950f
|
only inject meta if there isn't already one there. Deprecating support for injected meta in A4. Will likely remove completely at beta.
|
2011-03-14 00:20:23 -04:00 |
|
scottjehl
|
dfe7cf6593
|
Added viewport meta elements to the markup of every template and removed the metaViewportContent option from code and docs. IE does not support generated viewport tags.
|
2011-03-14 00:20:23 -04:00 |
|
scottjehl
|
1370d5a48e
|
add IE version check to gradeA qualifier.
|
2011-03-14 00:20:22 -04:00 |
|
scottjehl
|
0f9eb85240
|
removed a TODO about changing the changePage function's arg structure. We can revisit this again if it ends up causing problems, but for now, it's not hurting anything and people are already using it. Fixes #1152
|
2011-03-13 21:59:51 -04:00 |
|
John Bender
|
b4bc09e3b3
|
clarification and whitespace fix
|
2011-03-12 23:02:11 -08:00 |
|
John Bender
|
a6b14b9cab
|
indentation in select open
|
2011-03-12 22:58:21 -08:00 |
|
John Bender
|
bc70fedb20
|
select whitespace cleanup
|
2011-03-12 22:56:36 -08:00 |
|
John Bender
|
e2e8d24b79
|
Merge branch '1036' of https://github.com/chrsMon/jquery-mobile into chrsMon-1036
|
2011-03-12 22:52:53 -08:00 |
|
John Bender
|
1911dba7d7
|
small refactor for clean
|
2011-03-12 14:37:45 -08:00 |
|
John Bender
|
f555a27e34
|
fix for protocol and host included as params in path.clean
|
2011-03-12 14:37:45 -08:00 |
|
Kin Blas
|
b0a667ae44
|
Fixed typo in my last checkin for converting tap to virtual mouse events. It was preventing tap from actually firing so things like the cancel button link in a search textfield was being followed.
|
2011-03-11 16:12:58 -08:00 |
|
Kin Blas
|
b00d05b81c
|
Merge branch 'master' into fastclick
|
2011-03-11 10:33:11 -08:00 |
|
Kin Blas
|
2de7cc5bbc
|
Added vmousecancel to the vevents list so that users can bind to the event.
|
2011-03-11 10:30:16 -08:00 |
|
John Bender
|
a2747915c5
|
corrected issue with setting forward and back values for changepage closure
|
2011-03-09 23:27:59 -08:00 |
|
John Bender
|
8803bee3bb
|
fixed zero index bug for directHashChange
|
2011-03-09 22:55:07 -08:00 |
|