John Bender
aa16aec358
move checkbox radio to enhanceWithin
2011-10-10 14:21:37 -07:00
John Bender
18737f4940
test to verify that textinputs are kept native where necessary
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
c1bd079b90
test for keepnative on the select menu
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
b358985ca2
tests for keepNativeSelector method
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
88720d5d01
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-10-10 11:05:43 -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
toddparker
38e77e5c80
Updated docs to clarify the replaceState known issues and to add docs on the pushStateEnabled option
2011-10-10 13:14:59 -04:00
John Bender
a589da3936
added 'known issues' bullet for (push|replace)State
2011-10-07 17:11:30 -07:00
John Bender
cddd16a02b
added warning to documentation for (push|replace)State plugin pertaining to external link issues
2011-10-07 16:03:28 -07:00
John Bender
479585e1ff
whitespace in navmodel docs
2011-10-07 16:03:28 -07:00
scottjehl
09c92b516d
Merge remote branch 'origin/master'
2011-10-07 18:50:30 -04:00
scottjehl
513940b88c
removed focus outline disabling on buttons and active state, which addresses issue #2639 , and helps with keyboard navigation.
2011-10-07 18:50:11 -04:00
scottjehl
f0403f9d9f
set native touch overflow enabling back to false
2011-10-07 18:48:38 -04:00
John Bender
92baba02d4
orientation change check requires stubbing onorientationchange
2011-10-07 13:32:34 -07:00
John Bender
c2c7af8876
fix for failing tests adding root page to the dom twice because of the search string
2011-10-07 13:30:31 -07:00
Kin Blas
9983e96382
Added the tools directory to the Makefile so it gets copied when making nightlies and demos.
2011-10-07 09:36:12 -07:00
Kin Blas
e3f45bf0f3
First pass implementation of a page event logger bookmarklet to help us quickly diagnose navigation problems for external jQuery Mobile sites. Users can either follow the instructions for using/setting up the bookmarklet in log-page-events.html, or simply include the log-page-events.js directly in their source.
2011-10-07 09:31:28 -07:00
scottjehl
dc90ef39f6
clarified some of the points on scripting pages
2011-10-07 10:58:34 -04:00
Todd Parker
da2352a7ad
Merge pull request #2622 from Wilto/search-iconpos
...
Fixes #2571 , Fixes #2590 , Fixes #2576 — Improperly scoped “position: relative;” on .ui-btn-text. Thanks Wilto!
2011-10-05 14:26:50 -07:00
Mat Marquis
772a4790a1
Fixes #2571 , Fixes #2590 , Fixes #2576 — All three issues were caused by improperly-scoped “position: relative;” on .ui-btn-text, within listviews.
2011-10-05 16:50:36 -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
Todd Parker
90d8387caf
Merge pull request #2610 from Wilto/listview-rounded-icons
...
Fixes #2593 — Prevents rounded corners on icons in lists. Thanks Wilto!
2011-10-04 15:10:00 -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
Jörn Zaefferer
23a24f6106
Update to latest QUnit. Fix event tests that were calling both asyncTest
2011-10-04 17:34:33 -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
John Bender
55e11dd8ea
update documentation to highlight timing issues with orientationchange
2011-10-04 13:31:29 -07:00
Todd Parker
32ed8cfbbd
Merge pull request #2607 from Wilto/collapsible-status-text
...
Fixes #2595 — Hidden “click to expand contents” text now updates. Thanks @rogerjohansson and @Wilto
2011-10-04 12:44:03 -07:00
Jörn Zaefferer
0ed1460279
Add swarminject.js to prepare for TestSwarm integration
2011-10-04 15:02:17 -04:00
John Bender
57079e1d6b
add the ability to disable native orientation change support Fixes #793
...
the frequency of the triggered event in certain android releases ( 2.1, 2.2) appears to be dependent on a host of things other than an actual orientation change, eg alerts, zoom, and scrolling. This provides a way for the user to disable it in favor for using throttled resize while still making use of the window.orientation where its available for reliability
2011-10-04 11:54:26 -07:00
toddparker
ff9720281b
Added another check for orientation change event for Android 2.1
2011-10-04 11:54:25 -07:00
John Bender
a0ddaab8e3
fix for incorrect portrait of lanscape value
...
The value attached to the event passed into handlers was based soley on screensize which is problematic given that some implementations (eg Android 2.3) don't change the screensize until after the event is fired. The orientation property appears to report a better value where it is provided so the solution is to prefer what it reports and then fallback to the screensize caculation where necessary.
2011-10-04 11:54:25 -07:00
John Bender
a20bb72a29
whitespace in events
2011-10-04 11:54:25 -07:00
Mat Marquis
4ed1e6ac11
Fixes #2595 — Hidden “click to expand contents” text now changes depending on current expanded/hidden state.
2011-10-04 14:01:08 -04:00
Kin Blas
ec08371aec
Merge pull request #2599 from gabrielschulhof/scrollview-position-relative
...
scrollview: Add "position: relative;" to class ui-scrollview-clip in orde
2011-10-04 01:46:47 -07:00
Gabriel Schulhof
51a4298f96
scrollview: Add "position: relative;" to class ui-scrollview-clip in order to confine scrollbars to scrollview container
2011-10-04 11:35:04 +03:00
toddparker
a252794f36
Merge remote branch 'origin/master'
2011-10-03 17:23:25 -04:00
toddparker
b483eebc78
Added links to bar and content block examples.
2011-10-03 17:22:39 -04:00
toddparker
1791e671c9
Removed global link styles, added in swatch-specific link styles for bar and body.
2011-10-03 17:21:25 -04:00
scottjehl
ead0baf2ab
brought these orientation-based rules back for certain scenarios where they're helpful, such as when js is setting heights in iOS5. No bug fix, just a tweak.
2011-10-03 17:01:05 -04:00
toddparker
1c5fd4c12f
Updated version to 1.0rc2pre
2011-10-03 14:25:13 -04:00
gseguin
7106078f87
Fix for #2592
2011-10-03 09:19:44 -07:00
Kin Blas
8a25599b82
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-30 12:43:30 -07:00
Kin Blas
5811440641
Added a test for diretly loading Urls with a hash that contains just the dialogHashKey. This tests to make sure these issues don't happen again:
...
Issue #2570 - Refreshing a page with #&ui-state=dialog causes syntax error
Issue #2582 - Refreshing a page with #&ui-state=dialog causes page duplication
2011-09-30 12:40:57 -07:00
Kin Blas
98eda9a0f4
Fixes #2582 - Refreshing a page with #&ui-state=dialog causes page duplication
...
- Modified loadPage() to call isFirstPage() with fileUrl instead of absUrl. Since fileUrl is the same as absUrl, but with the dialogHashKey stripped off, it will allow us to match against the url for the first-page.
2011-09-30 12:38:16 -07:00
Kin Blas
5a76ae7ed2
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-30 09:19:15 -07:00