Commit graph

3468 commits

Author SHA1 Message Date
maggiewachs
d4b10bbcda Merge branch 'master' of github.com:jquery/jquery-mobile 2011-09-28 14:52:58 -04:00
maggiewachs
dabd071087 updated options 2011-09-28 14:52:48 -04:00
maggiewachs
6976df6c50 added 'calling plugin' section 2011-09-28 14:52:27 -04:00
maggiewachs
3a52bc1740 updated options 2011-09-28 14:52:06 -04:00
maggiewachs
fad253ffbb removed old file 2011-09-28 14:51:56 -04:00
Kin Blas
d64eaf0500 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-09-28 11:40:33 -07:00
Kin Blas
880df5fcf5 Added unit test for issue #2537 - Add new pageremove event.
The test makes use of a pageremove callback that conditionally calls preventDefault() on the event so that the test can make sure a developer can prevent a specific page from being removed from the DOM.
2011-09-28 11:38:18 -07:00
Kin Blas
34fb7b2dc1 Fixes #2537 - Add new pageremove event
- Modified the pagehide callback in $.mobile._bindPageRemove() so that it fires off a "pageremove" event. Callbacks can prevent the removal of the page by simply calling preventDefault() on the pagremove event object that is passed to their callback.
2011-09-28 11:37:46 -07:00
scottjehl
4618b1253f Merge remote branch 'origin/master' 2011-09-28 14:10:09 -04:00
scottjehl
4c404e50b6 Removed the separate search icon image and used the one from the sprite instead. Because of this, we'll save a request, but the icon is slightly different as a result (it has a disc, making it consistent with other icons in the framework). 2011-09-28 14:09:55 -04:00
gseguin
b0969d1bcf Merge branch 'issue-2527' 2011-09-28 11:03:18 -07:00
gseguin
bc2243342d Changed collapsible tests following fix for #2527 2011-09-28 11:01:58 -07:00
gseguin
b84a68edaa Missing semi-colon 2011-09-28 10:57:46 -07:00
gseguin
5a97fd7b05 Fix for #2527
Use ui-body-* instead of ui-btn-up-* for collapsible content
2011-09-28 10:57:24 -07:00
Todd Parker
ee35ca635f Merge pull request #2556 from Wilto/master
Assorted CSS adjustments. Fixes #1392, Fixes #2513. Thanks Wilto!
2011-09-28 10:54:17 -07:00
Kin Blas
ca9df1197a Fixes #2529 - Transition to the same page
- So it seems just allowing changePage() to process same toPage and fromPage is not enough. I modified the CSS3 keyframe

animation plugin so that it only removes the ui-page-active class from the fromPage if it is *NOT* the same as the toPage.

- I also re-ordered the in/out transition rules for forward/reverse transitions so that the user always views some sort of animation/motion.
2011-09-28 09:14:52 -07:00
maggiewachs
2b2935b701 clarified initSelector description 2011-09-28 11:14:09 -04:00
maggiewachs
deec3340f2 updated navigation links for the text inputs and slider 2011-09-28 11:01:20 -04:00
maggiewachs
d423d9ec79 changed the folder name from 'sliders' to slider 2011-09-28 11:00:56 -04:00
maggiewachs
c1b1d5c1a6 removed old file 2011-09-28 11:00:44 -04:00
maggiewachs
658433b89c changed the folder name from 'sliders' to slider 2011-09-28 11:00:37 -04:00
John Bender
9acbcb3b15 add test to guarantee that getEncodedText does not return html 2011-09-27 15:55:44 -07:00
John Bender
d816fe1ec1 tests for getEncodedText helper and issue #2547 2011-09-27 15:48:52 -07:00
John Bender
ac0288a5ba create getEncodedText helper and update custom select for use Fixes #2547 2011-09-27 15:19:35 -07:00
Mat Marquis
085a104005 Fixes #2538 — Button wasn’t getting the appropriate “has-count” class. 2011-09-27 16:47:11 -04:00
scottjehl
3a337e98c7 Merge remote branch 'origin/master' 2011-09-27 16:27:23 -04:00
maggiewachs
4893f5d2eb removed old file 2011-09-27 16:01:46 -04:00
maggiewachs
c342f7b8d3 removed - changed folder name 2011-09-27 16:00:56 -04:00
maggiewachs
5093d28d59 updated the nav link to textinputs 2011-09-27 16:00:03 -04:00
maggiewachs
d77849a9ac changed the folder name to something more descriptive (textinputs rather than texts), and corrected the documentation language (several factual errors) 2011-09-27 15:59:39 -04:00
Mat Marquis
f0a7d0b963 Fixes #2513 — Also addresses issue where 1px top border highlight on controlgroup buttons was aligned with top of icon, rather than the top of the button. 2011-09-27 15:55:19 -04:00
Mat Marquis
252c269bf5 Merge remote-tracking branch 'upstream/master' 2011-09-27 15:21:54 -04:00
scottjehl
083f69d018 Undeleted some "features" that seemed to keep bugs at bay. Fixes #2545. Fixes #2476 2011-09-27 15:17:25 -04:00
Mat Marquis
d1002ba968 Fixes #2532 — Regression introduced while addressing #1392. 2011-09-27 14:24:44 -04:00
Mat Marquis
b0df463af9 Fixes issue where clicking the edges of a custom select wouldn’t trigger the native select list, as well as an issue where the native select list was showing then immediately hiding in IE7. 2011-09-27 14:21:34 -04:00
toddparker
08736c3dda Merge remote branch 'origin/master' 2011-09-27 13:38:11 -04:00
toddparker
8669913fa7 Removed outdated device photo from intro page 2011-09-27 13:37:50 -04:00
scottjehl
fdc48805e9 Merge remote branch 'origin/master' 2011-09-27 12:37:17 -04:00
scottjehl
9b86fddf89 disabled touch overflow scrolling by default. overridable through $.mobile.touchOverflowEnabled. 2011-09-27 12:37:10 -04:00
scottjehl
47480d69f9 when touch overflow scrolling is supported and enabled, user scaling can create serious usability issues where it's difficult to get zoomed back out. This disables user scaling when that overflow scrolling is enabled (currently only projected for ios5 support) 2011-09-27 12:36:24 -04:00
scottjehl
1ad3eeaf98 accelerate elements within the page in touch-enabled scenarios to prevent hidden elements (not just blinking, but flat-out disappearing) 2011-09-27 12:34:17 -04:00
toddparker
8e2f6fa341 Fixed a code typo in the theme example 2011-09-26 16:22:55 -04:00
toddparker
72535d11b3 Added improved collpsible theming docs 2011-09-26 16:21:32 -04:00
Kin Blas
a975878fb4 Disabled the workaround for issue 785 (jQM text input forces use of iOS auto-correction) on iOS 5 devices since it appears to be fixed. This is still a problem on iOS 4.x and earlier.
- We don't have a specific test for iOS 5 so we use $.support.touchOverflow as an iOS 5 and later indicator. Yes, I feel dirty.
2011-09-26 11:39:30 -07:00
Kin Blas
6cd1e1b141 Fix for issue 2529 - Transition to the same page
- Added a new allowSamePageTransition option to the changePage() method default settings.

By default, we prevent changePage() requests when the fromPage and toPage are the same element, but folks that generate content manually/dynamically and reuse pages want to be able to transition to the same page. To allow
this, they will need to change the default value of allowSamePageTransition to true, *OR*, pass it in as an option when they manually call changePage().

It should be noted that our default transition animations assume that the formPage and toPage are different elements, so they may behave unexpectedly. It is up to the developer that turns on the allowSamePageTransitiona option
to either turn off transition animations, or make sure that an appropriate animation transition is used.

	// To toggle the default behavior for all changePage() calls,
	// set the default value of allowSamePageTransition to whatever
	// you want it to be. The default is false.

	$.mobile.changePage.defaults.allowSamePageTransition = true;

	// To specify the behavior when manually calling changePage(),
	// pass it as an option. If not specified, the default value
	// specified by $.mobile.changepage.defaults.allowSamePageTransition
	// is used.

	$.mobile.changePage( "#reused-page", { allowSamePageTransition: true } );
2011-09-26 10:23:47 -07:00
Todd Parker
86ab89497a Merge pull request #2522 from bobbravo2/patch-1
fixed typos and added @deprecated note to the $.mobile.addResolutionBreak. Thanks bobbravo2!
2011-09-26 07:10:20 -07:00
Ghislain Seguin
1477950a3f Merge pull request #2526 from MauriceG/patch-5
correcting typos and use consistent titling "Theming buttons"
2011-09-25 16:12:47 -07:00
Maurice Gottlieb
362cab5343 correct typos and use consistent titling "Theming buttons" 2011-09-26 01:29:41 +03:00
Todd Parker
4ca42592c1 Merge pull request #2525 from MauriceG/patch-4
correct some typos and correction for #2524. Thanks MauriceG!
2011-09-25 11:43:09 -07:00
Maurice Gottlieb
8539423a56 correct some typos and correction for #2524 2011-09-25 20:36:32 +03:00