Commit graph

4520 commits

Author SHA1 Message Date
Kin Blas
3cb884b6d7 Added scrollThreshold and checks for page[XY]Offset changes within handleTouchMove to catch the case where the window scrolls, but the scroll events are not dispatched till after touchend. Note that page[XY]Offset is not updated before touchend on every platform, but it does seem to update on iOS which is where we need it. 2011-02-23 23:53:17 -08:00
Ernesto Jiménez
dae3e2fa74 Proper support for lists with search filter and dividers 2011-02-23 17:42:47 +00:00
Jim Hoskins
cbd890daa6 Changed <ul> to <ol> in html content formattic doc 2011-02-23 01:27:12 +08:00
Jim Hoskins
1b588fa76d Updated grammatical errors in docs
Changed "an" to "a" where appropriate
2011-02-23 01:27:12 +08:00
Kin Blas
6d7bce63b6 Merge branch 'master' into fastclick 2011-02-22 08:57:28 -08:00
John Bender
62bd20adb9 fixed build.xml css order Fixes #1075 2011-02-21 08:55:16 -08:00
Martin Kou
796c8642bd Fixed a typo in checkboxradio which causes JS errors. 2011-02-20 18:32:02 -08:00
John Bender
aacb0751be fixed build.xml to match js/index.php and the Makefile 2011-02-20 18:23:31 -08:00
John Bender
421dc352c0 corrected js test includes and simplified to prevent further breakages 2011-02-20 18:07:17 -08:00
John Bender
2704975095 re arranged tests for mobile init 2011-02-20 18:07:17 -08:00
John Bender
a64a44504b moved page additions after gradeA check in init and removed from core 2011-02-20 18:07:17 -08:00
John Bender
b21531a0ac left gradeA in core, added todo for page element addition refactor 2011-02-20 18:07:17 -08:00
John Bender
891f9b1b07 moved initialization down in the build order, still requires some small refactoring 2011-02-20 18:07:17 -08:00
Kin Blas
de0f12f164 Merge branch 'master' into fastclick 2011-02-18 18:05:38 -08:00
Kin Blas
48389d1ee1 Fixed bad variable name in teardown method of jquery.mobile.vmouse.js. It was causing an error that made one() bindings fail to fire off their handlers.
Modified select and slider code to use virtual events.

Modified tap and taphold code to make use of the virtual events.
2011-02-18 17:39:04 -08:00
scottjehl
b6b7aebe14 null hrefs should just preventDefault and return, rather than returning false. Fixes #1118 2011-02-18 16:46:28 -05:00
scottjehl
00a8082acc updated to jQuery 1.5.1 RC 2011-02-18 16:43:20 -05:00
Kin Blas
c063e1ce65 Changed "click" bindings to "vclick" for listview and anchors. 2011-02-18 12:40:30 -08:00
Kin Blas
807be39d83 Added jquery.mobile.vmouse.js to the list of scripts to include. 2011-02-18 12:38:51 -08:00
Kin Blas
815c8c3631 Moved experiments/fast-click/jquery.mobile.mouse.js to js/jquery.mobile.vmouse.js. 2011-02-18 12:37:02 -08:00
Kin Blas
981ec95d60 Merge branch 'master' into fastclick 2011-02-18 12:32:38 -08:00
scottjehl
670ec15661 switched collapsibles over to tap event. Fixes #1056 2011-02-18 12:43:34 -05:00
Kin Blas
dfdb4850b2 Fixed an infinite loop problem when using $().parent() to crawl up the hierarchy. 2011-02-18 08:51:36 -08:00
Kin Blas
f7d576b1b5 Slight re-write of code to allow for the use of bind(), delegate(), and live(). 2011-02-17 13:53:53 -08:00
Kin Blas
0850558a31 Merge branch 'master' into fastclick 2011-02-17 13:51:02 -08:00
Ashley Streb
767c35c629 Updating docs to specify that the default transition for dialogs is 'pop' 2011-02-16 22:52:44 -08:00
John Bender
709d12e4d6 resolved conflict for default dialog transition to pop 2011-02-16 22:52:14 -08:00
John Bender
47a98f09c8 test for thumb styling with listview('refresh') 2011-02-16 22:35:48 -08:00
unknown
ee1a8c1977 listview thumb styling via listview('refresh'). Fixes 947 2011-02-16 22:25:37 -08:00
John Bender
61b7b2e002 removed unnecessary var declaration 2011-02-16 19:55:01 -08:00
Ernesto Jiménez
9aa1a38a32 Reviewing the code realised that this var was implicitly declared as global. 2011-02-16 22:22:28 +00:00
John Bender
8ea018147c removed old test pages for navigation and one unneeded test 2011-02-15 23:01:22 -08:00
John Bender
bec975ad3a added tests for data url regexs 2011-02-15 22:59:54 -08:00
John Bender
3759f87173 reverted to regex method of retrieving the data-url from ajax loaded content to guarantee base is set, regex's courtesy of jblas 2011-02-15 22:24:15 -08:00
tschaub
899e9581e9 P free hamster. 2011-02-16 05:55:21 +08:00
Kin Blas
b2ca132fb9 Merge branch 'master' into fastclick 2011-02-15 13:47:04 -08:00
Kin Blas
dc0608d244 - Fixed some jslint warnings.
- Fixed "event" typo in the mouse click cancel callback.
2011-02-15 10:20:21 -08:00
John Bender
b1c8621309 small tweak to wait for page load in navigation tests 2011-02-14 23:34:48 -08:00
John Bender
05e7bbac45 fixed broken listview test in chrome and dialog test redirect 2011-02-14 23:19:56 -08:00
John Bender
f301018c1c added an extra parameter to data url element to match reported issue in pull request 2011-02-14 17:33:06 -08:00
John Bender
47d4a1fb0a refactor/simplification of fix for broken regex matching data url in ajax loaded pages 2011-02-14 17:25:23 -08:00
John Bender
5a23721a92 whitespace fix for navigation 2011-02-14 17:23:25 -08:00
Ernesto Jiménez
09213738f3 Regular expression / data-url="(.*)"/ doesn't stop at the end of the attribute
but the last quotes in the HTML.

I have replaced wildcard . with [^"] to fetch only the attribute content.
2011-02-14 16:33:58 +00:00
chrsMon
bbee2fdb2b Fixes issue #1036 partially offscreen rendering of select menu
https://github.com/jquery/jquery-mobile/issues/issue/1036

The css styles the select menu with a width of 80% with a max-width of
350px. This fix checks if width of select menu is less than max-width.
If that is the case the select menu is centered on screen. If not it
checks if the rigth or left side of the select menu are outside the
viewport and if so moves the select menu inside the viewport with a 30px
tolerance.
2011-02-13 21:11:53 +01:00
Kin Blas
d40868370a Removed obsolete file jquery.mobile.click.js. 2011-02-11 15:07:23 -08:00
Kin Blas
4acba083f2 Merge branch 'master' into fastclick 2011-02-11 15:04:41 -08:00
Kin Blas
6ebf6b78f6 Added support for a click block list. 2011-02-11 15:03:36 -08:00
John Bender
265f6d9ca8 switch instances of ok to same for test failure clarity 2011-02-10 23:24:49 -08:00
John Bender
743c6c9d9c fixed broken listview test and added a bunch of semicolons 2011-02-10 23:01:30 -08:00
Michael O'Hearn
554bb1e7e3 fixed a typo 2011-02-10 22:04:15 -08:00