Commit graph

971 commits

Author SHA1 Message Date
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
scottjehl
1aafea83aa semicolon 2011-03-26 14:16:08 -04:00
scottjehl
e8cee23744 major simplification of jqmData method, while adding new methods for jqmRemoveData, and also their $-namepaced utility methods, including $.jqmHasData. Commit includes 20 new unit tests included to test compatibility with jQuery core's data methods, and docs are updated as well. 2011-03-26 14:14:02 -04:00
scottjehl
d59ba5a31a moved a couple of concats over to :jqmData() selector 2011-03-26 10:09:52 -04:00
Kin Blas
004860c209 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-03-25 23:47:32 -07:00
Kin Blas
90e167a4f6 Some "page" data calls were accidentally switched to jqmData(). The widget code actually uses data() so we need to make sure we match.
A couple of data() to jqmData() changes were missed.
2011-03-25 23:44:02 -07:00
John Bender
6089618431 readded fix to return jquery wrapped object from animation complete in both branches 2011-03-25 22:35:19 -07:00
Kin Blas
d32a8a6bb4 Fixed some jslint warnings. It caught a missing comma that would've broken the file during a minify. < whew! > 2011-03-25 21:26:10 -07:00
Kin Blas
d62864b7de Add dummy mouse/click handlers on bind elements so that they remain clickable on Opera Mini. 2011-03-25 20:35:24 -07:00
John Bender
4fe0b29a0f Merge branch 'data-namespacing' 2011-03-25 18:46:00 -07:00
Kin Blas
aa58b2a7e6 Added back blocking based on ancestry. Looks like we need to block on both proximity and ancestry to work around touch and mouse target differences. 2011-03-25 18:00:58 -07:00
scottjehl
7503f62a10 changed our two new custom data helper names to jqmData() and :jqmData() 2011-03-25 17:50:40 -04:00
toddparker
ea074d1ef1 Set the global default for select menus to use the native instead of custom. Updated the docs and examples to match. 2011-03-25 12:44:46 -04:00
Kin Blas
d06ff28bf6 Re-introduced the concept of blocking the mouse handlers from firing trigger. It was needed to fix select menus. Everytime you would click a select button, the click event was being intercepted by whatever select item appeared at the point of tap which set the value of the select. 2011-03-24 14:57:51 -07:00
scottjehl
4fa2032789 quick fix to listview image selector to grab the first img of each LI, not the whole list. 2011-03-24 15:41:43 -04:00
Felipe Brahm
c25829a8a2 Bug fix: only apply thumb style if img tag is on the first level. This fixes the problem when you want multiple images on each li element, like a 5 star rating for each element for example. Now to add multiple images you just have to put them in a div. 2011-03-25 03:39:02 +08:00
cm71td
2f3b5b6543 Disabled buttons should get the ui-disabled class. I created a refresh() method to be consistent with other widgets. It checks if the underlying button is disabled and calls enable or disable. The refresh() method is called from _create. 2011-03-25 03:16:42 +08:00
John Bender
7d3642f3ab fixed init tests for ie 2011-03-24 09:46:13 -07:00
John Bender
ff4c74d5f9 fixed init tests for ie js failure 2011-03-23 22:42:16 -07:00
scottjehl
61005944d3 Added support for the target attribute on forms (such as target="_blank"). When set, the form handler simply allows the native handling to apply. Unlike anchors however, the rel attribute is not allowed on forms. If you're purely looking to submit a single form without ajax, you can use the data-ajax="false" attribute as well. Fixes #952 and docs updates are included 2011-03-24 00:59:42 -04:00
scottjehl
39476d151a added support for data-transition and data-direction on form elements. Fixes #1275 2011-03-24 00:45:15 -04:00