John Resig
87106e4e61
Make sure that listview classes are only set per row.
2010-10-22 11:48:54 -04:00
John Resig
c8b5728c21
Fix issues with button rendering.
2010-10-22 11:39:26 -04:00
John Resig
170b02d795
Pull in updated version of jQuery.
2010-10-22 11:38:07 -04:00
John Resig
683d73243c
Reduced number of calls to addClass.
2010-10-21 18:36:17 -04:00
John Resig
f91b2523ff
Merge clickable into buttonMarkup. Improve performance of the Button Markup plugin.
2010-10-21 17:18:59 -04:00
scottjehl
21a7b0a2ba
updated to reflect new changes in pageChange function and dialog behavior
2010-10-21 17:02:59 -04:00
scottjehl
e71cb716a2
Merge branch 'master' of github.com:jquery/jquery-mobile
...
Conflicts:
js/jquery.mobile.js
2010-10-21 16:47:32 -04:00
scottjehl
ef3fd116dc
refactored to use widget factory and not be tracked via hash/history. Fixes #176
2010-10-21 16:29:05 -04:00
scottjehl
5ad3d04084
several changes that allow for changing pages without hash changes:
...
- allowed prevention of hash listening during a particular hash change
- allowed $.activePage to remain set on previous page when an untracked page is open (return pageshow event false to use this feature)
- moved setting and resetting to base urls and made sure they update at the right moment for both new pages and those previously visited.
- changePage now accepts an array as first argument, allowing you to specify both [from,to] pages, whereas non-array types would refer to the "to" page, assuming "from" should be the currently viewed page
- error requests never generate a hash change now
- edited the ajax error to appear in the right location when scrolled
Essentially, plugins can now create page changes that are not tracked in history, which is a dialog critical bug.
2010-10-21 16:28:17 -04:00
scottjehl
6f90c3aa17
changed to use click event.
2010-10-21 15:59:44 -04:00
John Resig
1128ff16ca
Rewrote some of the logic for numbering items and creating sub-pages.
2010-10-21 14:56:10 -04:00
John Resig
89a5f47065
Updated some queries to make sure more of them hit querySelectorAll/matchesSelector.
2010-10-21 14:30:42 -04:00
John Resig
9a38d8a0d1
Rewrite of listview logic for performance.
2010-10-21 14:07:28 -04:00
scottjehl
06e6ceb519
moved $activePage to $.activePage, so it's exposed for external plugins
2010-10-21 14:04:47 -04:00
scottjehl
b8cf201a88
ajaxClick only updates the hash if the clicked element doesn't match the new unHashedSelectors var. So far, this only includes [data-rel=dialog]
2010-10-21 13:16:48 -04:00
scottjehl
cb13c2f84a
updated to use new changePage function, which no longer has a "from" arg
2010-10-21 13:12:25 -04:00
scottjehl
0d8956cf0c
big refactor of hashchange event handler - moved logic over to changePage function.
2010-10-21 13:11:46 -04:00
scottjehl
afcf8fb0e8
made sure the inner corners on listview buttons are rounded.
2010-10-21 09:34:29 -04:00
scottjehl
2f38d99d45
moving the slider handle triggers change event on the input or select.
2010-10-20 19:08:56 -04:00
scottjehl
b15b9153a4
changed ajax response injection to avoid filtering-out script elements that are included in the page div. Fixes #145
2010-10-20 18:32:00 -04:00
scottjehl
ebfcc40e39
if a nested list is created on a page that contains a persistent footer, that footer should persist across all generated sub-pages. Fixes #247
2010-10-20 17:46:16 -04:00
scottjehl
b211de4bb3
updated triggered events to pagebeforeshow / pagebeforehide
2010-10-20 16:01:38 -04:00
scottjehl
73be0bb64b
removed extra $ causing error in direct-url scenarios
2010-10-20 14:20:38 -04:00
scottjehl
2c17000bfc
fixed up rounded corners on inset lists
2010-10-20 14:16:34 -04:00
scottjehl
62f0754c6b
removed console log
2010-10-20 14:08:01 -04:00
scottjehl
33052b7349
expose after domready
2010-10-20 12:48:05 -04:00
scottjehl
a0b814e26a
moved appends over to use $.pageContainer
2010-10-20 12:09:03 -04:00
scottjehl
b27e9e6d51
exposed pageContainer via $.pageContainer, for other plugins to append
2010-10-20 12:00:18 -04:00
scottjehl
863e971cd9
created $pageContainer reference - for appending pages. Fixes #260
2010-10-20 11:49:08 -04:00
scottjehl
8f78c67b1b
gave startPage a $ prefix
2010-10-20 11:48:00 -04:00
jzaefferer
6651fcf016
Listview: Replace live tap event handler with delegate.
2010-10-20 16:21:05 +02:00
jzaefferer
962d5a137b
Listview: Finishing up refresh refactoring. Fixes #249
2010-10-20 15:55:05 +02:00
jzaefferer
1cbdc76d08
Listview: Code cleanup and refactoring, introducing refresh method. Partial fix for #249
2010-10-20 06:28:35 +02:00
scottjehl
df93b9ec57
needed a g flag. Thx @naton. Fixes #252
2010-10-19 16:22:04 -04:00
Matt Curry
e5bd32c2d9
put input name in quotes to prevent issue with [,] chars
2010-10-19 23:27:16 +08:00
wuyuntao
205364620d
Modified to allow for pages to have a data-back attribute which provides a way to use backward transition manually.
2010-10-18 18:17:10 -04:00
Brandon Aaron
946f9d72ca
Updates to textarea autogrow. Use keyUp event so that changes are reflected in the DOM (in theory), buffer the keyUp event (100ms), and use clientHeight instead of offsetHeight for a better comparison to scrollHeight. Fixes #4 .
2010-10-18 15:51:49 -04:00
scottjehl
f8524f2e0c
Rolling back changes from commit #ea4db95b3c4d296c2719 as it didn't accommodate controlgroups used in radios/checkboxes. Further testing needed on those.
2010-10-18 12:44:44 -04:00
scottjehl
c282234548
Make sure mailto links do not get picked up by ajaxClick functionality. Fixes #206
2010-10-18 12:13:02 -04:00
imjoshdean
ea4db95b3c
flipClasses would not work properly when there is only one list-divider at the top or bottom. Now works properly in any case.
2010-10-17 23:02:25 -07:00
scottjehl
c1e41e2f7a
took the transitions off the select menus when they go to full page - still having trouble with the changePage function when not used in combination with a hashchange.
2010-10-15 21:34:55 -04:00
scottjehl
14ecf6f0da
just comments
2010-10-15 20:37:30 -04:00
scottjehl
7c7fffabcf
removed the "MORE" nav functionality - too buggy. Maybe later. or not.
2010-10-15 20:07:52 -04:00
scottjehl
193a400476
changed logic for auto-adding back btns. Hoping this Fixes #143
2010-10-15 18:25:54 -04:00
scottjehl
f5468482f8
fixed up theme inheritance
2010-10-15 16:40:06 -04:00
scottjehl
dd2f2a2672
fixed issue with configuring a solo right button in a header.
2010-10-15 16:19:55 -04:00
scottjehl
f35bd06b75
removed a call to hide browser chrome
2010-10-15 15:57:37 -04:00
scottjehl
ad5470e29c
loosened the scope for ui-links.
2010-10-15 15:55:46 -04:00
scottjehl
6b86edb327
removed transition names that won't be in alpha
2010-10-15 15:47:45 -04:00
scottjehl
0bee3fc585
made fixed headers an opt-in, until we can work the bugs out
2010-10-15 14:58:08 -04:00