Commit graph

991 commits

Author SHA1 Message Date
scottjehl
ec8a9cfed4 Merge remote branch 'origin/master' 2011-03-31 17:40:16 -04:00
scottjehl
4839d82e54 removed class we weren't using 2011-03-31 17:31:16 -04:00
scottjehl
f241a858b5 fixed ordered lists in readonly OL listviews. Fixes #1144 2011-03-31 17:24:09 -04:00
scottjehl
19400af5f6 removed navigation-specific list keyboard handling and ARIA out of listview and over to select, which is the only place it's used. Lists are also now much friendlier to readonly markup - so forms and all of the formatted content previously supported in navigation-based listviews now work without an anchor wrapper. 2011-03-31 17:06:20 -04:00
scottjehl
57649cd066 moved the listview a11y handling to just selectmenu custom menus, since that's the only place it's now relevant 2011-03-31 16:44:25 -04:00
Kin Blas
3c69215ed6 Temporary workaround to keep 3rd party onclick handlers functioning. This stuff really needs to be done within the vmouse plugin. 2011-03-31 12:38:36 -07:00
scottjehl
07d20d9991 Merge remote branch 'origin/master' 2011-03-31 13:20:44 -04:00
scottjehl
ae6c2d569f fixed a duplicate check for using markup for page titles when title isn't present. 2011-03-31 13:20:19 -04:00
scottjehl
854885e93d move the pageTitle setter to different function 2011-03-31 12:56:48 -04:00
scottjehl
d8aac11a4f merging unit test addtions for page titles 2011-03-31 12:56:30 -04:00
scottjehl
ac7188e449 merging changes from page-titles branch in regards to a conflict with addNew function arguments 2011-03-31 12:48:46 -04:00
Kin Blas
16bea21a1c Corrected grammar for a comment in my previous checkin. 2011-03-31 09:33:05 -07:00
Kin Blas
0927ddfe3e Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-03-31 09:22:55 -07:00
Kin Blas
3ce228e3f2 On touch devices, 3rd party code that used href='#' links and onclick handlers weren't working because our live("vclick") link handler in jquery.mobile.navigation.js was calling preventDefault() on the vclick event.
For vclicks dispatched via touchend, calling preventDefault causes mouse clicks to be suppressed. This is why the 3rd party onclick handlers weren't getting triggered. For vclicks dispatched by a real mouse click this isn't a problem.

The fix basically removes the preventDefault() call from the live("vclick") handler and places it in a real live("click") handler. This allows the mouse event to get dispatched and trigger 3rd party click handlers, and still call preventDefault to prevent the link from being followed.
2011-03-31 09:19:05 -07:00
scottjehl
612192011b adjusted change event handling to fire change event on the selected radio, as Dave suggested, and which matches the native triggering. Also, checkboxes change events appear consistent with native implementation. Fixes #1206 2011-03-31 00:22:26 -04:00
scottjehl
cdccf8f2af updated the fastclick comment 2011-03-30 21:32:38 -04:00
scottjehl
93ddf9d984 Syntax fix with data-ajax attr - also making sure [target] is included in the external link check, and that the pathname is removed properly in IE before prefixing. 2011-03-30 21:17:52 -04:00
scottjehl
a017576da9 Merge remote branch 'origin/master' 2011-03-30 20:52:20 -04:00
scottjehl
e38a25de58 make sure the sticky footer matching is only true if data-ids are specified. This makes "tap" work again when toggling fixed headers and footers. 2011-03-30 20:52:13 -04:00
Kin Blas
14fbe8b164 Fix for issue 1316 - URL is not properly formed in Firefox
- Checking in scottjehl's suggested selector for the non dynamicBaseTag support case.
2011-03-30 16:15:24 -07:00
John Bender
215aded824 fixed path detection for when linking from embedded pages to file paths Fixes #1305 2011-03-30 01:08:15 -07:00
John Bender
3a758f97fa navigation whitespace 2011-03-30 01:08:15 -07:00
scottjehl
27b4cd29fc improved the fixed headers and footers so they show and hide more appropriately, even when starting a scroll on an anchor element. Fixes #1309 2011-03-29 19:09:19 -04:00
Kin Blas
62f8ce254e Bullet proof handleTouchStart() against fake touchstart events that don't have any touches[] properties defined. 2011-03-29 09:46:10 -07:00
Kin Blas
1f2c7fd537 Merge branch 'master' into fastclick
Resolved Conflicts:
	js/jquery.mobile.navbar.js
2011-03-29 09:03:05 -07:00
scottjehl
80f81ca6fa improved sticky footers a little bit. Now they don't fade after becoming sticky, but they stick well at least. 2011-03-28 20:35:17 -04:00
scottjehl
8fa56b6e85 Got the sticky footers working again. Markup change noted in first page of demo. Fixes #850 2011-03-28 18:30:55 -04:00
John Bender
97783bdbd1 added page tracking to history stack and handling for dialog to dialog transitions in hashchange 2011-03-28 00:41:33 -07:00
jblas@adobe.com
0a063c6d67 Get rid of "moved" tracking in the label event bindings. This is all handled transparently by the virtual mouse event code. 2011-03-27 21:20:06 -07:00
jblas@adobe.com
729cda075a Merge branch 'master' into fastclick
Resolved Conflicts:
	js/jquery.mobile.buttonMarkup.js
	js/jquery.mobile.event.js
	js/jquery.mobile.forms.checkboxradio.js
	js/jquery.mobile.forms.select.js
	js/jquery.mobile.listview.js
2011-03-27 21:00:22 -07:00
scottjehl
4f4718731f Incorporating mariozaizar's changes to add a backBtnTheme option (null by default) to the page plugin. A few edits were needed to support namespacing and a proper null default so theme inheritance is the default. 2011-03-27 18:29:45 -04:00
scottjehl
b0eb2bd053 Fixed up nested listviews so that any markup that comes before the child list will be used for complex formatting in the list item node. Text nodes that are direct children of the LI still work fine as well. Fixes #585 2011-03-27 16:18:24 -04:00
scottjehl
ef1b0d94ae added the $.mobile.listview.prototype.options.closeBtnText option for configuring the text of dialog back/close buttons. This also Fixes #1227 (or at least a note within that already-closed issue). Documentation included. 2011-03-27 14:10:16 -04:00
scottjehl
315c594572 Added "filterPlaceholder" option to allow configuring filter listview placeholder text. Documented here: jquerymobile.com/test/#docs/lists/docs-lists.html. Fixes #1227 2011-03-27 14:01:59 -04:00
scottjehl
56fd116236 make sure change event is fired on native select element when custom menu triggers a new selected item. Fixes #1109 2011-03-27 13:45:19 -04:00
scottjehl
58c0d1d1fb no longer needed, as anchors now fill the LI and have no click handling applied. 2011-03-27 13:35:27 -04:00
scottjehl
f4e5492b9e make sure close button on small multi-select menus still works. Fixes #1293 2011-03-27 13:21:16 -04:00
scottjehl
aab6cf4012 Fixed an issue where custom selects within dialogs always opened full-screen and not as overlays. Fixes #1277. Note: this change removes code that stated Firefox had trouble with getting outerHeight on a hidden page, but I found that no longer to be true, so I'm assuming this was fixed in Core. 2011-03-27 13:15:06 -04:00
scottjehl
c50158c837 Just comments, code order, and whitespace, but also confirming: This Fixes #1171, where a page loading error prevents future page loads from working.
Confirmed on this page. Scroll down and click the error message, than another link to navigate elsewhere.
http://jquerymobile.com/test/#docs/pages/docs-pages.html
2011-03-27 12:27:50 -04:00
scottjehl
4a45d8d96b Added pageLoadErrorMessage option. Defaults to "Error Loading Page". Documentation included. Fixes #1258 and Fixes #363 2011-03-27 11:45:03 -04:00
scottjehl
368b875a02 delegated clicks on anchors don't seem to cause the same visual problems in WinMo7 that they did when click events were bound to LIs. Removing workaround then! 2011-03-27 01:59:36 -04:00
scottjehl
b2f4f06f7d make sure inner button gets corner rounding as well in listviews. Fixes a regression from earlier. 2011-03-27 01:14:46 -04:00
scottjehl
a0ebb5223b find first image child of LI or of firstchild anchor 2011-03-26 23:46:47 -04:00
scottjehl
9a4663073d removed default click simulator now that listviews no longer tricker clicks. 2011-03-26 21:29:24 -04:00
scottjehl
6cd2e9164a removed delegated LI click handling. Native anchors will provide 2011-03-26 21:29:24 -04:00
scottjehl
84b55548d3 more updates to the listview markup, styles and scripts to allow wrapped anchors 2011-03-26 21:29:24 -04:00
scottjehl
72fe3a2c21 initial markup changes 2011-03-26 21:29:24 -04:00
John Bender
0c59d527c3 fix for listview blank page, ui widget sets the data using the non namespaced fn. needs further consideration 2011-03-26 16:20:12 -07:00
scottjehl
665e87dd5b make sure an undefined prop stays undefined 2011-03-26 17:48:21 -04:00
scottjehl
8880ceb431 jqm coding style 2011-03-26 14:17:19 -04:00