Commit graph

838 commits

Author SHA1 Message Date
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
Kin Blas
6ca8b9f700 Merge branch 'master' into fastclick 2011-03-09 14:25:58 -08:00
Kin Blas
d2594ec585 Reworked tap/taphold code so that it makes use of vmousecancel to detect when the user has scrolled the page. Also refactored some of the event handler calling code into a function. I'm still not sure why the handler is called directly versus using the jQuery trigger() method which would allow bubbling. 2011-03-09 14:14:53 -08:00
Kin Blas
8dd766dbce Removed experimental setting of the ui-btn-active class on button down. This breaks feedback on checkboxes and radios. 2011-03-09 14:13:26 -08:00
Kin Blas
6414e35cee Convert checkbox/radio and navbar over to virtual mouse events. 2011-03-09 12:37:20 -08:00
Kin Blas
2381bfdeef Remove the ui-btn-down and active class on vmousecancel instead of vmousemove. 2011-03-09 12:35:59 -08:00
Kin Blas
ea77d0370d Fix for issue 1207 - Can't revisit the same page after visitin it, hitting the back button and clicking its link
- This was a regression introduced by 20dce2ce. Added check for undefined newActiveIndex so we can tell the difference between the URL not being found, and a zero index.
2011-03-08 10:56:36 -08:00
Kin Blas
96a308cc6b Merge branch 'master' into fastclick 2011-03-08 09:10:07 -08:00
Kin Blas
79c1b1fb69 Convert dialog and button over to using vclick. 2011-03-08 08:52:17 -08:00
Kin Blas
c85a9c3d00 Fix for issue 1198.
- Added the mobile namespace to the pageContainer reference. I think we may have missed this during the sweep when we added the mobile namespace.
2011-03-07 09:27:57 -08:00
ahallerblu
291bb306dd find the next entry in the urlstack that isn't a dialog Fixes #1061 2011-03-04 23:34:12 -08:00
John Bender
ea85b5a46f whitespace in init 2011-03-04 22:25:33 -08:00
John Bender
a4a8d859ca small refactor of core to unify call to extend 2011-03-04 22:25:33 -08:00
scottjehl
5403981434 Merge remote branch 'origin/master' 2011-03-04 16:28:07 -05:00
scottjehl
4c8453a15a updated to 1.5.1 from the RC 2011-03-04 16:28:01 -05:00
John Bender
608b39ed39 moved loading message after init to account for customization 2011-03-03 18:06:07 -08:00
Kin Blas
dded1be380 Merge branch 'master' into fastclick 2011-03-01 15:45:49 -08:00
Kin Blas
ca3026a341 Switch collapsible over from click to vclick. 2011-03-01 14:07:11 -08:00
Kin Blas
48ab0ec7d6 Prevent inputs and buttons of type="button" from getting the submit click handler added to them. 2011-03-01 14:04:48 -08:00
Kin Blas
b8c73e2599 Merge branch 'master' into fastclick 2011-02-28 09:41:40 -08:00
Martin Kou
df21c701b5 Fixed animationComplete return value bug. 2011-02-27 22:07:34 -08:00
John Bender
58b16a94b6 small refactor to disable check for checkbox radio 2011-02-26 23:59:17 -08:00
Martin Kou
2bb94172cf Fixed checkboxradio disable issue. 2011-02-26 23:55:37 -08:00
Bra1n
c828cf1f64 prevent setting the data url on pages where it is already set 2011-02-26 23:25:07 -08:00
John Bender
20dce2ce42 small refactor to simplify newActiveIndex tracking 2011-02-25 23:24:03 -08:00
John Bender
86befdeaed removed unused var/global from navigation 2011-02-25 23:24:03 -08:00
Bra1n
6152e8f511 fixed page history direction search for duplicate entries 2011-02-25 23:24:03 -08:00
Kin Blas
3f627acba8 - Added support for a vmouseevent that is triggered when a touch results in the window scrolling.
- Modified the button markup behavior so that it uses the virtual mouse events and adds the ui-btn-active class on vmousedown, and then removes it on vmousemove or vmouseup.
2011-02-25 22:20:04 -08:00
Kin Blas
730dae0fc1 Merge branch 'master' into fastclick 2011-02-25 20:41:09 -08:00
Kin Blas
b4a8222366 Fix for the remainder of issue 991.
- Looks like the "Intelligent Guess" default behavior of the $.ajax() method in jQuery 1.5.1 guesses wrong when attempting to load an HTML file via a file:// URL. It's guessing that it is an XML document, so it ends up passing in the DOM document node to our success callback, instead of the expected HTML as text (responseText), so our callback code does not behave correctly. We can get around this by simply specifying dataType:"html" at the time we make a request.
2011-02-25 18:23:26 -08:00
John Bender
497f45ae81 Merge branch 'checkboxradio-typo-bugfix' of https://github.com/martinkou/jquery-mobile into martinkou-checkboxradio-typo-bugfix 2011-02-24 22:22:11 -08:00
Kin Blas
16fe54e3d3 Merge branch 'master' into fastclick 2011-02-24 16:18:14 -08:00
John Bender
338e5cb96a movied variables in listview filter to camel case convention used elsewhere 2011-02-24 00:07:27 -08:00
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
Kin Blas
6d7bce63b6 Merge branch 'master' into fastclick 2011-02-22 08:57:28 -08:00
Martin Kou
796c8642bd Fixed a typo in checkboxradio which causes JS errors. 2011-02-20 18:32:02 -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
scottjehl
670ec15661 switched collapsibles over to tap event. Fixes #1056 2011-02-18 12:43:34 -05:00
John Bender
709d12e4d6 resolved conflict for default dialog transition to pop 2011-02-16 22:52:14 -08:00