Commit graph

1336 commits

Author SHA1 Message Date
jacob4u2
9ff4d4cfd3 fix for #2119; updated to 2011-07-20 16:03:10 -05:00
scottjehl
a3afffdbbd restored autocorrect/complete disabling, as it was implemented in the page plugin already. 2011-07-20 12:59:20 -04:00
scottjehl
79cef2c01f restored default theming for headers and footers 2011-07-20 12:58:38 -04:00
scottjehl
5dc3555373 restored dialog theming, which overrides default page theming, but not custom page theming. 2011-07-20 12:40:46 -04:00
scottjehl
3da4bd32a8 whitespace 2011-07-20 12:37:54 -04:00
scottjehl
64e6ef0e72 bound widgets to the "enhance" event, in addition to the pagecreate event. The enhance event allows developers to enhance the contents of an html fragment by triggering "enhance". 2011-07-19 22:44:03 -04:00
scottjehl
2a6c7fc1b9 This commit decouples all widgets from the page plugin so that they can be used ad-hoc.
- Internally, each plugin self-initializes by binding to the pagecreate event.

- Unit tests have been added and adjusted to support some internal changes involved in this commit.

- In the process, the portions of the page plugin that were used to enhance the header,content,and footer sections of a native-app style page layout are now located in jquery.mobile.page.sections.js.

- No public API options have changed, except that the page plugin no longer has options for keepNative, and degradeInputs, as plugins now handle these internally (keepNative was never documented, and degradeInputs only affected slider, so it lives there now. Page options related to the page sections are now located in the page.sections script, but they are still configurable via the page plugin's options api.

- Make, Ant, and index files are updated with a new load order for all JS files.
2011-07-19 22:25:23 -04:00
scottjehl
03f32728c6 removed a console.log 2011-07-17 16:22:13 -04:00
scottjehl
259815d480 Make data-role=page elements optional. This change makes the framework more lenient with markup, and will ease integration with existing sites, as well as mashups with external content. Unit tests included. Fixes #2096 2011-07-17 14:52:49 -04:00
John Bender
2e2f318562 whitespace and missing semi in select 2011-07-15 15:22:56 -07:00
scottjehl
f84ceb12ed Merge remote branch 'origin/master' 2011-07-15 16:30:03 -04:00
John Bender
ca173441d0 small refactor the the base url change for readability 2011-07-15 10:47:06 -07:00
scottjehl
a5d0a294e9 Implemented data-prefetch attribute for anchor elements. Presence of this attribute on an anchor will cause the referenced page to be preloaded when the parent page of that anchor is shown. Fixes #1819. 2011-07-15 13:16:31 -04:00
scottjehl
3dd495588b removed the nonHistorySelectors option, which was no longer in use after the nav refactor. 2011-07-15 11:50:26 -04:00
scottjehl
b0552d79de removed some old alpha comments. Versioning covers this sort of thing. 2011-07-15 11:47:32 -04:00
scottjehl
6da7e4a1dc Made loading message configurable at runtime. Fixes #2044. Fixes #1974. Fixes #1947. 2011-07-14 22:46:06 -04:00
John Bender
d827be3bf2 relative url change per Kin Blas's last pre-vacation request 2011-07-13 16:04:24 -07:00
Ghislain Seguin
3062d385b8 Fix for issue #1526 2011-07-12 23:32:10 -07:00
scottjehl
ada46734ec abstracted out some of the page hide behavior to fix issues with the close button not returning focus to the button after closing. Also fixes an issue where a full page custom menu would open as a misplaced small custom menu the second time it opens (if the menu was closed via the custom close button). Fixes #1618. Fixes #1692. Fixes #1750. 2011-07-10 21:56:58 -04:00
Scott Jehl
7b1966c850 Merge pull request #2015 from mlitwin/bug_1992
Fixes #1992; Swipe threshold constants are configurable
2011-07-10 15:20:15 -07:00
scottjehl
e567742c90 fixed up logic and code style for the _removeCorners "which" argument. Thx for the logic suggestion, @eugenb1. Fixes #1996. 2011-07-10 18:07:12 -04:00
scottjehl
033ce4ab96 Merge branch 'fix_issue_1851' of https://github.com/tigbro/jquery-mobile into tigbro-fix_issue_1851
Conflicts:
	js/jquery.mobile.forms.checkboxradio.js
2011-07-10 17:17:51 -04:00
scottjehl
3deaa97c3a removed the globalpagecreate event trigger that came with the previous pull request, as it was never necessary. 2011-07-10 16:12:05 -04:00
scottjehl
f13207505f Merge branch 'master' of https://github.com/eugenb1/jquery-mobile into eugenb1-master 2011-07-10 16:09:00 -04:00
Ryan Neufeld
92fcbe1672 Fix for Bug #1931 - Collapsible Set - Visual Bug
collapsable selector was using :first so set was only ever one element.
changed find to children
2011-07-07 13:20:10 -07:00
John Bender
b761496ece moved typeof check to jQuery.type() 2011-07-07 09:22:24 -07:00
John Bender
bf9c071900 whitespace in navigation 2011-07-07 09:19:16 -07:00
Eugen
d581accfdb #2018 - forms.select now uses $.mobile.defaultDialogTransition 2011-07-07 09:52:02 +02:00
Eugen
4102df9923 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-07-07 09:20:55 +02:00
Konstantin Pozin
807089b04a Fix for #1271 - iconshadow 2011-07-06 13:22:53 -07:00
Ghislain Seguin
21557ff5c5 Merge pull request #1993 from gseguin/issue-1990
Proposed fix for issue #1990
2011-07-06 10:44:22 -07:00
Eugen
da2b8ba21a Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-07-05 09:15:21 +02:00
mlitwin
1ef7313e39 Bug 1992; Swipe threshold constants are configurable 2011-07-02 08:23:52 -07:00
scottjehl
8b220a7be4 updated jquery version to 1.6.2 2011-07-01 14:39:21 -04:00
Ghislain Seguin
2deeee14d7 More elegant fix for #1990
Re-use $.mobile.allowCrossDomainPages & call deferred.reject to notify caller of failure
2011-06-30 13:40:06 -07:00
Eugen
1068f3e968 globalpagecreate-Event 2011-06-30 13:24:24 +02:00
Ghislain Seguin
8117f12ad5 Coding standards 2011-06-29 21:03:12 -07:00
Ghislain Seguin
b02e19891a Replace $.noop by function that throws to not fail silently 2011-06-29 21:02:53 -07:00
Ghislain Seguin
5fe310600f Fix for #1990: Introducing $.mobile.ajaxCrossDomainEnabled defaults to false 2011-06-29 20:00:12 -07:00
Kin Blas
2b51355656 Switch back to processing link clicks on the "click" event. It really is the only reliable way across all the devices we support.
Also, remove all references to useFastClick.
2011-06-29 17:38:00 -07:00
John Bender
0774d6bfa0 move isOpen = true to the page show for dialog selects and to the bottom of the custom select logic branch to prevent timing issues 2011-06-29 10:43:30 -07:00
Rick Waldron
658a420c3b Fixes regression: jquery.mobile.page.js - revert var decl 2011-06-29 13:24:55 -04:00
Kin Blas
fb4b2ade25 Merge pull request #1984 from rwldrn/jquery.mobile.page.js-2
Fixes regression: jquery.mobile.page.js
2011-06-29 10:16:57 -07:00
Rick Waldron
a98a0d951f Fixes regression: jquery.mobile.page.js 2011-06-29 13:08:04 -04:00
Kin Blas
554780f36c Merge pull request #1981 from rwldrn/jquery.mobile.widget.js
jQuery core style guide conformance: jquery.mobile.widget.js
2011-06-29 09:15:52 -07:00
Kin Blas
a68cdd9f33 Merge pull request #1959 from rwldrn/jquery.mobile.fixHeaderFooter.js
jQuery core style guide conformance: jquery.mobile.fixHeaderFooter.js
2011-06-29 09:14:51 -07:00
Ghislain Seguin
188dbcc1a5 Coding standards 2011-06-29 08:59:40 -07:00
Ghislain Seguin
92fa98a88a Merge pull request #1980 from rwldrn/jquery.mobile.vmouse.js
jQuery core style guide conformance: jquery.mobile.vmouse.js
2011-06-29 08:52:52 -07:00
Kin Blas
93e59a7f22 Merge pull request #1957 from rwldrn/jquery.mobile.event.js
jQuery core style guide conformance: jquery.mobile.event.js
2011-06-29 08:50:12 -07:00
Rick Waldron
19e36d2fff jQuery core style guide conformance: jquery.mobile.event.js - fix string concat & split 2011-06-29 11:46:50 -04:00