Commit graph

1691 commits

Author SHA1 Message Date
toddparker
9e28d854c2 Reverting the last pull request, was causing a JS error and killing enhancement 2011-10-20 21:19:37 -04:00
toddparker
1496f5a485 Revert d61d6b0127953e10b17820cf1fdd14ed22a12c41^..HEAD 2011-10-20 21:18:03 -04:00
Todd Parker
d61d6b0127 Merge pull request #2768 from MauriceG/patch-10
fix for #2528 listviews: first list-item has "glowing" corners on top. Thanks MauriceG!
2011-10-20 17:07:05 -07:00
John Bender
8f5889a707 add linkBindingEnabled to mobile object for complex apps that want to handle all nav 2011-10-20 15:16:03 -07:00
Maurice Gottlieb
6e536eb6b5 fix for issue #2776: Select full page menus background wrong 2011-10-21 01:05:18 +03:00
Maurice Gottlieb
e5b123ce75 fix for #2528 listviews: first list-item has "glowing" corners on top 2011-10-20 20:11:39 +03:00
jblas@adobe.com
3130b52b3f Renamed the custom event I added to fix #2348 from "contentmodified" to "updatelayout" so that it reflects more of what it should be used for. Note that this also affects #2042 and the mention of collapsible in #2596. 2011-10-19 08:50:01 -07:00
John Bender
be59c77125 switch to stop propagation on checkbox/radio vmouse 2011-10-18 13:56:31 -07:00
John Bender
18767e5ac1 whitespace in checkbox radio 2011-10-18 13:56:31 -07:00
John Bender
2580f889b7 Merge pull request #2733 from eddiemonge/coding_styling
Some coding style cleanups
2011-10-18 09:59:30 -07:00
John Bender
5fce1154f7 Merge branch 'patch-8' of https://github.com/MauriceG/jquery-mobile into MauriceG-patch-8 2011-10-18 09:06:55 -07:00
jblas@adobe.com
af870605ac Removed all of the redundant code used to crawl the DOM upward looking for a theme to inherit from, and replaced it with a call to the new $.mobile.getInheritedTheme() function.
Also, fixed a bug in textinput.js that was placing a ui-body-null class on the input element when a data-theme was not specified directly on the input.
2011-10-17 16:54:20 -07:00
Eddie Monge
95674eb3d1 Some coding style cleanups 2011-10-17 16:39:05 -07:00
Maurice Gottlieb
5d662d4a7a @johnbender
Could you please check again?
2011-10-18 01:30:08 +03:00
Matthew Leon Grinshpun
62459c7cca fix for button iconshadow 2011-10-15 15:09:45 -04:00
Matthew Leon Grinshpun
6ef1d6ea6c fix for shadows and corners 2011-10-15 15:00:37 -04:00
toddparker
84729a4fec Added styling support for input type=color
Just for good measure. All HTML5 inputs are now auto enhanced into the
styled versions. We may need to decide if any of these need to be
degraded if the controls are wonky in some browsers.
2011-10-15 09:43:16 -04:00
toddparker
4ce1bfb795 Added new HTML5 date and time input support. Fixes #2144
Types added: input type time, date, month, week, date time,
datetime-local to auto for enhancements.
2011-10-15 09:33:06 -04:00
jblas@adobe.com
739373ee79 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-10-14 16:21:02 -07:00
jblas@adobe.com
2c2be3d9c6 Fixes #2659 - buttons don't inherit page-theme
- Insert the fake button container before calling buttonMarkup(). This allows the buttonMarkup() code to accurately calculate theme inheritance.
2011-10-14 16:18:49 -07:00
John Bender
a69e906cc7 add bail if the degrade Input page data isn't present 2011-10-14 15:33:50 -07:00
John Bender
f04efbd109 Merge branch 'Issue-#2654' of https://github.com/redaemn/jquery-mobile into redaemn-Issue-#2654 2011-10-14 15:30:36 -07:00
Todd Parker
d869cab1f0 Merge pull request #2711 from Wilto/disabled-sliders-selects
Fixes #2541 — Properly applies “disabled” styling and logic to custom form inputs. Thanks Wilto!
2011-10-14 14:21:16 -07:00
Mat Marquis
d0fc381d6b Fixes #2541 — Properly applies “disabled” styling and logic to flip switches, sliders, and custom selects based on disabled attribute in underlying input markup. 2011-10-14 17:15:41 -04:00
jblas@adobe.com
ab8deade90 Fixed #2699 - Dialog reverse transition
- Moved the settings.transition calculation code before the code that pushes a new history item on the stack. This ensures that the proper transition is stored with the history item.
2011-10-14 09:30:26 -07:00
jblas@adobe.com
1da0eb3c1c Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-10-13 22:51:45 -07:00
jblas@adobe.com
773497b501 Fixed #2348 - lists-search-with-dividers breaks fixed footer
- Fixed header/footer code now listens for a custom event "contentmodified" on the document to figure out if it should be repositioned or not. Modified collapsible and listview to fire off contentmodified whenever they modify content. Developers can also fire off this event to trigger position updates for fixed headers/footers, so this could be used to address issue #2042 and the mention of collapsible in #2596.
2011-10-13 22:45:52 -07:00
Gabriele Rabbiosi
9903376f35 degradeInputs now uses the recently introduced keepNativeSelector() 2011-10-14 00:50:29 +02:00
Gabriele Rabbiosi
7c34c5dc4b Merge branch 'master' of git://github.com/jquery/jquery-mobile into Issue-#2654 2011-10-14 00:25:49 +02:00
John Bender
2de28ee69f allow users to define keepnative on page elements 2011-10-13 14:53:36 -07:00
Gabriele Rabbiosi
1559478aae Issue #2654 - 'degradeInputs' plugin doesn't trigger on 'create' events; modified plugin and added tests 2011-10-13 22:21:47 +02:00
Eddie Monge Jr.
7c449fc791 style cleanups 2011-10-12 13:10:08 -07:00
John Bender
f0db137ed9 render prefetched pages according to their data-rel attr fixes #2335 2011-10-11 16:19:18 -07:00
John Bender
4713bf26d5 remove log statements 2011-10-11 10:47:46 -07:00
John Bender
8dd3def54b refactor for #509, move to document ready instead of using ssetTimeout 2011-10-11 10:46:19 -07:00
John Bender
3306a3242c Merge branch 'master' of https://github.com/mplatov/jquery-mobile into mplatov-master 2011-10-11 10:44:38 -07:00
John Bender
9b73a750d4 use jQuery.trim 2011-10-11 08:31:37 -07:00
John Bender
a4836ec5fd move button to enhanceWithin 2011-10-10 14:21:37 -07:00
John Bender
404010839d move slider to enhanceWith 2011-10-10 14:21:37 -07:00
John Bender
aa16aec358 move checkbox radio to enhanceWithin 2011-10-10 14:21:37 -07:00
John Bender
4ccd9b1bb3 move textinput to widget prototype enhanceWithin 2011-10-10 14:21:37 -07:00
John Bender
9e63d40298 todo for moving the keepnative to the widget itself, whitespace 2011-10-10 14:21:37 -07:00
John Bender
0e5583eae9 move to a centralized form element selector to leverage keepnative 2011-10-10 14:21:36 -07:00
John Bender
1b6ac290d2 add keepNativeSelector method to page widget for use in child form creat bindings 2011-10-10 14:21:36 -07:00
Kin Blas
c297f9675b Fix for issue #2644 - Navigating to root "/" does not generate clean URL if root page has id="*"
- Fixed a bug in the hashchange handler for the pushstate/replacestate plugin that was incorrectly resolving hashchanges for ids against the current location.href, which could be a different document. We now resolve id hashes against the document URL.

- Modified changePage() so that it sets the settings.dataUrl option to the documentUrl, when navigating to the first-page of the application document. This prevents any id on the first-page from being added to the location hash. This means that URLs that used to be produced like this:

	http://site.com/apps/#first-page-id

will now display as:

		http://site.com/apps/

Developers that wish to get the old behavior back can register a pagebeforechange handler and do something like this:

	$( document ).bind( "pagebeforechange", function( e, data ) {
		var toPage = data.toPage;
		if ( typeof toPage === "object" && !data.options.dataUrl && toPage[ 0 ] === $.mobile.firstPage[ 0 ] && toPage[ 0 ].id ) {
			data.options.dataUrl = "#" + toPage[ 0 ].id;
		}
	});

The handler above will make sure that any page changes to the first-page will always display as:

	http://site.com/apps/#first-page-id
2011-10-10 11:04:04 -07:00
scottjehl
f0403f9d9f set native touch overflow enabling back to false 2011-10-07 18:48:38 -04:00
John Bender
71b0eb0552 move $.fn.text invocation to $.fn.getEncodedTest where the content is being re-added to the dom for xss safety Fixes #2550 2011-10-04 18:25:54 -07:00
Mat Marquis
54465515d7 Fixes #2593 — Prevents application of ‘ui-corner-bl’ and ‘ui-corner-tl’ classes to ‘ui-li-thumb’ elements that have a class of ‘ui-li-icon.’ 2011-10-04 18:02:52 -04:00
Todd Parker
a783c740e8 Merge pull request #2609 from Wilto/voiceover-double-buttons
Fixes #2594 — Button text is no longer read aloud twice. Thanks @Wilto!
2011-10-04 14:10:29 -07:00
Mat Marquis
3c3a777158 Fixes #2594 — Button text is no longer read aloud twice (and treated as two separate navigable items) in iOS VoiceOver. 2011-10-04 16:45:14 -04:00