Commit graph

4508 commits

Author SHA1 Message Date
Mat Marquis
dec502d2c8 Prevents “undefined is null or not an object” error in IE, where .scrollTop() was being called before the body was ready. 2011-09-23 18:05:12 -04:00
Mat Marquis
078d317e63 Potentially addresses #1927 — Using “filter” for opacity was causing strange issues in IE, making all but the text on submit inputs click-proof. Bears further testing, if someone wouldn’t mind taking a look. 2011-09-23 18:00:13 -04:00
Kin Blas
40570e294d Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-09-23 14:23:55 -07:00
Kin Blas
4f066b7e07 Fix for issue 2503 - User can't specify own error handling logic
- Added the following notifications to $.mobile.loadPage():

	- pagebeforeload
		- Triggered just before loadPage() attempts to dynamically load an external page.
		- Developers can prevent the default loading behavior by calling preventDefault() on the event. If preventDefault() is called, it is up to the developer to call resolve()/reject() on the deferred object passed within the data object (2nd arg to the event callback).

	- pageload
		- Triggered after an external page has been loaded and inserted into the document.

	- pageloadfailed
		- Triggered when the load of an external page fails.
		- Developers can prevent the default behavior (error dialog display) by calling preventDefault() on the event. If preventDefault() is called, it is up to the developer to call resolve()/reject() on the deferred object (2nd arg to the event callback).
2011-09-23 14:12:40 -07:00
Ghislain Seguin
659bc45f74 Merge pull request #2517 from Wilto/master
Fixes #2516 — Tightens scope of a previous fix for clicks not registering on listview buttons’ icons.
2011-09-23 14:10:38 -07:00
Mat Marquis
848d1a72a3 Fixes #2516 — Tightens scope of a previous fix for clicks not registering on listview buttons’ icons. 2011-09-23 16:57:57 -04:00
toddparker
eaf5822c65 Restored button inline styling by defining inline as an option in the button markup plugin. Fixes #2496
The recent jqmData changes exposed this issue. Default for this option
is false.
2011-09-23 15:28:24 -04:00
toddparker
ee6754d9f2 Merge remote branch 'origin/master' 2011-09-23 14:48:19 -04:00
toddparker
af5b666a15 Updated tokenized theme CSS to remove the widget styles that were appended at the end. 2011-09-23 14:48:07 -04:00
Todd Parker
74e9ac6f05 Merge pull request #2515 from bjohn465/master
Style count bubble only when list is enhanced for better C grade experience. Thanks bjohn465!
2011-09-23 11:32:26 -07:00
Brandon Johnson
eaa182648e Styling count only when the list is enhanced 2011-09-23 12:10:33 -06:00
scottjehl
fe35e36a16 linked up the self-submit demo page and added a brief explanation of what happens when post requests submit to a page already represented in the DOM 2011-09-23 09:32:08 -04:00
scottjehl
be5136198e when a form is submitting via post to a url that already has a page represented in the DOM, replace the current page with the response page of the same url (post params are not passed via q string, so the URLs are identical). 2011-09-23 09:28:43 -04:00
Hans-Peter Buniat
d79c8a63cf added test for #2416 2011-09-23 08:13:19 +02:00
scottjehl
1badd4aa8e enable touch overflow scrolling by default where supported 2011-09-22 21:31:03 -04:00
Kin Blas
a5c873e388 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-09-22 16:25:38 -07:00
Kin Blas
36a47bbb0e Added slider unit test for issue 2315 - Flip toggle switch with change event bound, triggers multiple times 2011-09-22 16:24:56 -07:00
Kin Blas
4fa6ccdc0d Fix for issue 2315 - Flip toggle switch with change event bound, triggers multiple times
- Modified refresh() so that it checks to see if the value actually changed before firing off the "change" event.
2011-09-22 16:23:43 -07:00
gseguin
114cee84fe Merge remote branch 'upstream/master' 2011-10-05 15:14:39 -07:00
gseguin
141b199224 Updated tests for $.jqmData() and $.fn.jqmData() to match the new behavior 2011-10-05 15:13:44 -07:00
gseguin
27b51c47e9 Fixed $.jqmData() behavior to match $.fn.jqmData() 2011-10-05 15:12:11 -07:00
John Bender
94bc82f64c fix for failing checkbox radio test 2011-09-22 15:38:49 -07:00
John Bender
5b42fe6ea0 whitespace in checkboxradio core 2011-09-22 15:38:49 -07:00
John Bender
48928248d9 remove gzip from combine 2011-09-22 14:40:59 -07:00
John Bender
e5e269394e remove empty else in nav 2011-09-22 14:40:59 -07:00
Todd Parker
539a39e4dd Merge pull request #2509 from Wilto/master
Ensure clicking on buttons’ icons result in a click (can only recreate in desktop browsers). Fixes #1392. Thanks Wilto!
2011-09-22 14:03:30 -07:00
Mat Marquis
088454dc1a Fixes #1392 — Positions .ui-icon on lower z-index than .ui-btn-text, ensuring the click will register on the latter. 2011-09-22 16:56:37 -04:00
Todd Parker
d0364c5139 Merge pull request #2507 from Wilto/42f7dccd7ea99fdb803ce52994c0c703bd12dd0f
Fixes #1666 — .ui-checkbox/.ui-radio floated rather than inline, to fix height and properly hide checkboxes/radios. Visible checkboxes/radios below labels in FF4+ (Windows). Thanks Wilto!
2011-09-22 13:30:19 -07:00
Mat Marquis
42f7dccd7e Fixes #1666 — .ui-checkbox/.ui-radio floated rather than inline, to fix height and properly hide checkboxes/radios. 2011-09-22 16:20:47 -04:00
Ghislain Seguin
2f8d1902a2 Merge pull request #2500 from eddiemonge/issue_2499
Issue 2499: Some php improvements
2011-09-22 10:43:03 -07:00
gseguin
fb06381176 Set content-theme to collapsible in a set only if it's not already set 2011-09-22 10:28:56 -07:00
gseguin
1692c0f378 Added doc/sample for data-content-theme 2011-09-22 09:49:36 -07:00
gseguin
46e6c6b320 fixed data-content-theme in collapsible-set for collapsible expanded by default 2011-09-22 09:49:02 -07:00
John Bender
2086529728 remove extra local var storage 2011-09-22 08:53:53 -07:00
John Bender
f1d63f4f75 simplify calls to bind by wrapping this as a jquery object 2011-09-22 08:52:45 -07:00
John Bender
9d2b39dca6 whitespace in mobile init 2011-09-22 08:52:45 -07:00
John Bender
9182306ccf refactor for clarity and simplicity 2011-09-22 08:52:45 -07:00
John Bender
dd75904c11 fix the scrolling test in nav core to account for timing expectations in the page 2011-09-22 08:52:45 -07:00
John Bender
27b228803a change scroll recording to handle different scroll elements between page changes 2011-09-22 08:52:45 -07:00
John Bender
2f12ff249a refactor setLastScroll to speed it up a tad 2011-09-22 08:52:09 -07:00
John Bender
3e143c8f66 rename getLastScroll and its variables 2011-09-22 08:52:09 -07:00
John Bender
c363864382 use scrolltop to store scroll position
scrolltop as a solution isn't that great but some browsers scroll to the top
of the page to where the element bearing the id matching the hash is located
*before* the hashchange event is fired meaning we don't have an opportunity
in the changepage event lifecycle to record the scrolling properly
2011-09-22 08:52:09 -07:00
Eddie Monge
5bfc08bba2 Issue 2499: Some php improvements 2011-09-21 23:19:37 -07:00
gseguin
4d33ec386b Merge remote branch 'upstream/master' into collapsible-redesign 2011-09-21 22:26:36 -07:00
gseguin
66e63651a7 Added docs for data-content-theme 2011-09-21 22:25:12 -07:00
gseguin
e666552274 Added data-content-theme to collapsible and collapsible-set 2011-09-21 21:56:23 -07:00
Kin Blas
6b2c1762ff Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-09-21 15:47:52 -07:00
Kin Blas
7ec8999bd0 Added a navigation test for issue 1243 - Can't link to dynamically created data-role="page" 2011-09-21 15:47:14 -07:00
Kin Blas
80b0e99798 Fix for issue 1243 - Can't link to dynamically created data-role="page"
- Modified loadPage() so that if the data-url lookup for a given page fails, that it look for the page via id (if it is an embedded page URL). This allows us to find dynamically injected pages that are un-enhanced and missing their data-url attributes.
2011-09-21 15:46:15 -07:00
Ghislain Seguin
d1c83cd085 Merge pull request #2495 from eddiemonge/issue_2494
Issue 2494: Removed accidental css cruft and git info reorder
2011-09-21 13:56:10 -07:00