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
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
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
ehynds
dc6bf52fff
restoring doc
2010-12-04 09:07:59 -05:00
ehynds
31e6c5fe59
Merge remote branch 'upstream/master'
2010-12-04 09:06:11 -05:00
ehynds
bd845b3a17
arg
2010-12-04 09:06:04 -05:00
jzaefferer
45aeb9985b
Converter demo: Fix edit mode to generate list; fix Cancel and Add buttons to when adding new conversions
2010-12-04 14:32:14 +01:00
scottjehl
1c5236be6c
fixed the themeswitcher
2010-12-03 18:12:44 -05:00
scottjehl
b01478a5e7
make sure forms can submit via ajax AND pass the clicked button's name/value in the serialized data. Fixes #605
2010-12-03 13:08:08 -05:00
scottjehl
e765d21631
documented how to disable the hidePlaceholderMenuItems option in selectmenus
2010-12-03 11:38:47 -05:00
scottjehl
6dce87a2ac
hide placeholder options in selectmenu overlays. Fixes #607
2010-12-03 11:32:48 -05:00
ehynds
68150b5bec
adding optgroup support. Fixes #567
2010-12-03 10:57:21 -05:00
ehynds
e6b4634937
Merge remote branch 'upstream/master'
2010-12-03 10:50:18 -05:00
ehynds
8062bf0a80
finish merge of select_event_bubbling or whatever i called that branch
2010-12-03 10:47:25 -05:00
scottjehl
c4b333e723
make sure empty options are displayed with expected height. Fixes #572
2010-12-03 10:41:55 -05:00
scottjehl
ca8d9b9fed
Merge branch 'select_event_bubbling' of https://github.com/ehynds/jquery-mobile into ehynds-select_event_bubbling
...
Conflicts:
js/jquery.mobile.forms.select.js
2010-12-03 10:06:10 -05:00
ehynds
e2eb9e9298
add disabled option support. fixes #350
2010-12-03 22:30:08 +08:00
ehynds
12f011b7cc
swap return false for event.preventDefault
2010-12-03 07:40:58 -05:00
scottjehl
e4f55d3c91
fixed datepicker static example
2010-12-02 15:19:53 -05:00
scottjehl
f9e25efeb6
Merge branch 'master' of github.com:jquery/jquery-mobile
2010-12-02 15:19:32 -05:00
Kin Blas
b0896e2e4c
Merge remote branch 'origin/master'
2010-12-02 11:43:20 -08:00
Kin Blas
33602a4dfd
Implemented view paging for the scrollview. This feature is only enabled for horizontal and vertical scrollviews. To use, pass "xp" or "yp" for the @data-scroll attribute.
...
Fixed a typo/bug in scrollview.js that was causing the paging bool to be set improperly.
Turned on scrollview paging in scrollview-direction.html.
Items still left to do:
- Code refactoring/cleanup.
- Modify the code so that scroll offsets are stored as positive values. This will make it easier for folks to understand.
2010-12-02 09:47:46 -08:00
Todd Parker
cc2fb7eb42
Actually updated to 1.4.4. Thanks Eric!
2010-12-02 12:27:48 -05:00
Todd Parker
df7de3f54d
Updated jq script link to 1.4.4 on both pages. Also used CDN versions on the multi-page template.
2010-12-02 11:43:58 -05:00
Kin Blas
63627e529f
Fixed some copy/paste typos in the nested sample.
...
Got rid of some test code in the direction sample.
2010-12-01 14:57:28 -08:00
scottjehl
e70c7d4295
Merge branch 'master' of github.com:jquery/jquery-mobile
2010-12-01 17:07:37 -05:00
scottjehl
69a91d0854
noted docs to-do
2010-12-01 17:05:28 -05:00
Kin Blas
39a9681d55
Implemented support for nested scrollviews, scroll propagation, and direction locking. To make a div scrollable use:
...
data-scroll="x|y|true"
2010-12-01 14:04:54 -08:00
scottjehl
9423bc199d
fixed issue with listview corner rounding when listviews have only a couple items.
2010-12-01 16:35:17 -05:00
scottjehl
ce5ea07780
don't set hash if back is true. Fixes #582
2010-12-01 12:41:27 -05:00
scottjehl
9853fa9252
added a quick google maps example - needs some more love when we have time!
2010-12-01 11:55:35 -05:00
scottjehl
bc09540492
updated example code
2010-12-01 11:11:35 -05:00
scottjehl
54568271d9
pageshow and pagehide now fire after the location hash is updated. Fixes #583
2010-12-01 09:52:07 -05:00