Kin Blas
8351f5496b
Turn off delayedClickEnabled by default for now. We need to work out some kinks.
...
Modified sv-test-02.html so that you can dynamically turn on/off the delayedClick behavior.
2010-12-15 11:13:31 -08:00
Kin Blas
58506aeef4
Added code to defer the generation of a "click" event for form elements within a scrollview. This seems to keep form elements working on Android.
...
Added strict comparisons for strings as pointed out by jonathan in my previous checkin.
2010-12-15 08:06:07 -08:00
jzaefferer
2a66572dca
Fixed reference to jquery.ui.position.js in Ant build, now (more) consistent with Makefile
2010-12-15 16:18:39 +01:00
jzaefferer
e70c17d625
Extend nested listviews to accept more then just the title in parent list item. Currently requires predefined anchor to be present, based on discussion in ticket. Extended lists-nested.html to test both variants. Fixes #253 - only text nodes allowed in nested listview
2010-12-15 15:54:13 +01:00
Kin Blas
aa1f94a81f
Added support for scrolling via scrollTop/scrollLeft.
...
Modified sv-test-02.html so that you can dynamically switch the scrolling method used. This will allow us to test the performance of different methods on the different platforms.
Modified scrollview.js so that you can specify @data-scroll-method="translate|position|scroll".
2010-12-14 16:05:52 -08:00
John Bender
39e5e75ca1
fixed test descriptions
2010-12-14 00:11:02 -08:00
John Bender
5114995865
notes on test fixture oddities
2010-12-14 00:05:29 -08:00
John Bender
54ea95a3d8
added negative test case for perspective transition and simple case for transitioning class
2010-12-14 00:05:29 -08:00
Kin Blas
22d4f4f687
Removing some debug code I accidentally commited.
2010-12-13 15:34:19 -08:00
Kin Blas
1b06d3dd32
Changed page title.
2010-12-13 15:22:39 -08:00
Kin Blas
d31f92a649
Modified index so that all tests launch externally so they can pick up the CSS and JS that is specific to that test.
...
Added a couple of tests that will help us figure out what events need to be handled special to disable native view port scrolling, and what events are necessary for form elements to function properly.
2010-12-13 14:20:14 -08:00
John Bender
56cb1bce38
test replaced with TODO issues with page transition
2010-12-13 10:41:16 -08:00
Mitch Foley
ad757718c4
actually reversing backbtn logic this time.
2010-12-13 11:11:21 -05:00
Mitch Foley
df3bc91f80
renaming nobackbtn to backbtn.
2010-12-13 10:54:26 -05:00
John Bender
95ef08b269
perspective class only added on flip page transition or any transition added to the perspectiveTransitions local var in the transitionPages function Fixes #568
2010-12-13 02:21:40 -08:00
John Bender
c1ba429a9c
added ui-btn:visited color white, Fixes #618
2010-12-12 00:41:42 -08:00
scottjehl
9420083a7b
quick update to set the base.href back to the starting path, just in case, as some browsers may retain the base href after the element is removed from the DOM. Explained better here: b2add677f0
2010-12-11 13:50:07 -05:00
John Bender
7e0cdbef5e
small whitespace correction
2010-12-11 00:56:56 -08:00
John Bender
6f8aada084
orientation support tests for native vs resize
2010-12-11 00:39:27 -08:00
John Bender
7f51d4fcf5
added test for scroll prevention on swipe and move swipe movehandler prevention
2010-12-10 23:59:18 -08:00
Kin Blas
e72809ca49
Added links to tests so folks don't have to type them manually.
2010-12-10 16:07:58 -08:00
Kin Blas
3062199ac6
Some tweaks to kptdobe's patch from:
...
https://github.com/jquery/jquery-mobile/pull/649
- Changed hideOnTouchEnabed to touchToggleEnabled.
- Fixed problem that would allow the toolbars to show on touchstop, if the starting state was "inline" to begin with.
- Moved the touchToggleEnabled checks in touchstart/touchstop so that they wrap the entire code in the function. We don't want to do any work if we don't need to.
- Removed the forced hide() call in touchstart.
Added the missing fadeout animation reference inthe fade.in transition rule.
2010-12-10 10:17:16 -08:00
Richard Stutfield
0a87b59a04
Navigation: delay removal of duplicateCachedPage
2010-12-10 12:27:14 +00:00
kptdobe
9c3762978e
Allow to disable headers hide on touch behavior
2010-12-09 15:02:45 +01:00
John Bender
553b58567f
added protection for nested links to ui-bar selector with tests
2010-12-09 00:16:48 -08:00
John Bender
fc2a405d21
added swipe distance threshold tests and fixed the taphold async test
2010-12-09 00:05:41 -08:00
John Bender
970f46c5e0
header and footer links will now remain unstyled, Fixes #524
2010-12-08 22:16:45 -08:00
ehynds
c982b93794
fixed a bug in single selects where clicking on a selected option would un-select it. this logic should only apply to multiple selects.
2010-12-08 15:45:23 -05:00
Kin Blas
4882c068b0
Modified loadComplete() so that it always fires off the "show" event. The idea here is that calling preventDefault() on a "hide" event shouldn't prevent the "show" event from being dispatched. Calling preventDefault() on the "show" event still prevents the "to" page from becoming the active page.
...
Removed redundant target delcaration in the <a> live click callback.
2010-12-08 12:40:21 -08:00
ehynds
1d2ef4f606
removed console.log statement
2010-12-08 09:43:24 -05:00
ehynds
43a6a3bb1b
refactored header create logic to be consistent with the rest of the widget; fixed bug when using optgroups within a multiple select
2010-12-08 09:41:00 -05:00
John Bender
25c5d2697a
basic swipe timing tests
2010-12-07 23:30:02 -08:00
John Bender
0574cd78ef
test for tap event not fired when movement is recorded
2010-12-07 20:22:06 -08:00
ehynds
94ac0a88be
fix placeholder logic
2010-12-07 18:05:26 -05:00
ehynds
9c1b0f7329
Merge branch 'select_multi' of github.com:ehynds/jquery-mobile
2010-12-07 17:47:26 -05:00
ehynds
2c8c89ba9b
Merge remote branch 'upstream/master'
2010-12-07 17:45:33 -05:00
Michael J. Rubinsky
76cc574721
Add note specifying these events need to be called prior to jQuery Mobile execution.
2010-12-08 06:11:01 +08:00
ehynds
9e30e54159
removed extraneous comment
2010-12-07 15:49:54 -05:00
ehynds
8eb553f884
multiple select functionality
2010-12-07 15:45:20 -05:00
ehynds
8286eccabd
Merge remote branch 'upstream/master'
2010-12-07 15:26:27 -05:00
scottjehl
80d56e655b
Changed page navigation scripting to use data-url attributes instead of IDs for storing page URLs. This fixes a number of issues, most importantly #477 , which exposed a conflict between jQuery's selector engine that would result in un-enhanced pages whenever linking between two pages in the same directory.
...
The shift away from interal ID attribute usage also allows users to bind page events (pagecreate, pagebeforecreate) to a page div by its ID, which was a frequent cause of confusion when it didn't work as expected in former versions of the framework.
Seemingly unrelated: these commits allow you to specify data-role="dialog" in multipage and single page templates. In multipage templates, the role must be on the page (a link with data-rel alone will not work in multi-page). This addresses issue number 464, but may need further testing for obscure scenarios.
Fixes #477 (Pages are not enhanced when linking to a filename without a path)
Fixes #493 (Click the same link twice -> blank page)
Fixes #513 (closing dialog + returning to the same dialog)
Fixes #550 (changePage() not updating hash for internal pages - breaks )
Fixes #464 (Dialogs don't work within multi-pages)
Fixes #633 (Recent change to prevent same-page requests breaks select menu close button)
Fixes #599 (Page ids & page specific events)
Fixes #634 (After a bad page request, base url is not reset to current path)
booya.
2010-12-07 12:05:10 -05:00
scottjehl
008e7e4c37
changed to reference local js,css
2010-12-07 11:33:04 -05:00
scottjehl
91a5b8c098
Changed the way submit buttons work. Now, form input/button elements are appended to a div-based "button", invisibly filling its width and height. The user now interacts directly with the native control, rather than having to trigger a click from another anchor (which formerly prevented some native submit event handling from working).
...
A workaround is still included to ensure the input's name/value is submitted along with the form when it's not a type=reset, as this is necessary for the button data to appear in the serialized form data.
2010-12-06 11:40:28 -05:00
ehynds
c05272ba7d
Merge branch 'master' of github.com:ehynds/jquery-mobile
2010-12-06 08:21:08 -05:00
John Bender
639eaf897e
added test for pushing back taphold with touchmove
2010-12-05 22:59:53 -08:00
John Bender
16ed9dc661
added tap hold test
2010-12-05 22:38:49 -08:00
scottjehl
2931fffb91
blur the active/focused element on changepage sooner. Thx @goulvench
2010-12-04 14:46:41 -05:00
scottjehl
74ebc360ca
make sure hashchange event never causes additional hash changes to occur when responding with a page change
2010-12-04 13:13:55 -05:00
Jesse Streb
b725ff8f6a
https://github.com/jquery/jquery-mobile/issues#issue/493 If changePage is called with to parameter that matches the current page we simply return out of the function
2010-12-04 13:13:55 -05:00
ehynds
8118b77a6a
documenting disabled options and optgroup support
2010-12-04 23:29:12 +08:00