Commit graph

2872 commits

Author SHA1 Message Date
scottjehl
df3fbca3f4 implemented the autoInitializePage global config option, so that auto-initialization may be disabled in favor of manually initializing the page later on. Still needs a unit test. 2011-07-24 19:27:21 -04:00
scottjehl
fdb77bfa52 changed new (undocumented) "enhance" event to "create" to better match our existing event name conventions 2011-07-22 09:05:55 -04:00
scottjehl
1a828594f5 default for loadPage should be to not show the loading message, since its default use case is to fetch a page that is not yet active. However, changePage should cause it to show because loadPage is being called during a page change. 2011-07-21 08:04:12 -04:00
Scott Jehl
f70a947552 Merge pull request #2105 from jgable/fix_2104
Fixes #2104. IE style in docs for ui-bar-f roundyness.
2011-07-20 16:05:28 -07:00
Scott Jehl
4d66aa6397 added input types url and tel to auto-init. 2011-07-20 15:29:08 -07:00
Scott Jehl
214e2e0c1a Merge pull request #2118 from commadelimited/master
Fixes #2117. Add textInput styles to email type input field
2011-07-20 15:27:42 -07:00
Scott Jehl
0cbea0bb90 Merge pull request #2120 from jgable/fix_2119
Fixes #2119. updated $elem to $this
2011-07-20 15:09:44 -07:00
jacob4u2
9ff4d4cfd3 fix for #2119; updated to 2011-07-20 16:03:10 -05:00
Andy Matthews
0123608748 Edited js/jquery.mobile.forms.textinput.js via GitHub 2011-07-20 12:52:19 -07:00
scottjehl
3afef99719 forgot to add a file to the unit test markup 2011-07-20 14:37:02 -04: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
6f701add58 updated unit tests to ensure the enhance event is working properly on self-initializing widgets 2011-07-20 09:35:48 -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
c7b63920e7 fixed test failures that occured when the jquery-mobile directory is located in a subdirectory of the server root. 2011-07-19 22:25:05 -04:00
jacob4u2
286f024a18 Updating gradients in jqm-docs.css ui-bar-f style to match default theme gradients with opera et al. 2011-07-18 17:15:15 -05:00
jacob4u2
a7ab4c049e Fix for #2104, IE style in docs for ui-bar-f roundyness 2011-07-18 17:01:14 -05:00
scottjehl
8e354a06c5 typo in docs 2011-07-17 17:04:11 -04:00
scottjehl
a93cdbcea0 changed up the unit test so that it didn't load the page in an iframe, which seemed to mess things up on the test server. 2011-07-17 16:29:05 -04:00
scottjehl
03f32728c6 removed a console.log 2011-07-17 16:22:13 -04:00
scottjehl
44dfea16e1 Merge remote branch 'origin/master' 2011-07-17 14:53:44 -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
Scott Jehl
116df45ae7 Merge pull request #2091 from taktran/master
Minor doc fix up
2011-07-17 09:22:03 -07:00
Scott Jehl
c4f8e7dbfb Merge pull request #2094 from hotTea/master
Fixes #2087 : Upgrade valencia to use the new gradient syntax
2011-07-17 09:03:35 -07:00
Mayank Varia
81581150dd Upgrade valencia to use the new gradient syntax. Fixes #2087
Adjusted css3 prefixing for background gradients and removed -ms filter
gradients
2011-07-17 00:55:44 -07:00
Tak Tran
fc15c53d2d Matching end comment for ui-grid-b code 2011-07-15 16:37:42 -07:00
John Bender
53a8023b14 fixed select tests to click the button instead of calling the select menu method 2011-07-15 15:22:56 -07:00
John Bender
2e2f318562 whitespace and missing semi in select 2011-07-15 15:22:56 -07:00
toddparker
edee8c42b3 Merge remote branch 'origin/master' 2011-07-15 17:04:33 -04:00
toddparker
6b8f322c66 Updated the single and multi-page templates to use the CDN version and have better design/content. Linked to these from the index page so they are more accessible too. 2011-07-15 17:02:25 -04:00
scottjehl
f84ceb12ed Merge remote branch 'origin/master' 2011-07-15 16:30:03 -04:00
toddparker
4f6eea6e00 Fixed inline button docs to remove the incorrect info that wrapping multiple buttons in a container with data-inline="true" woudl work. You must add this each each button. 2011-07-15 16:11:26 -04:00
scottjehl
22b0cae65c added unit tests for the data-prefetch attr 2011-07-15 15:55:27 -04:00
John Bender
ca173441d0 small refactor the the base url change for readability 2011-07-15 10:47:06 -07:00
scottjehl
098687ae63 added documentation for data-prefetch 2011-07-15 13:22:13 -04: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
affd609330 This ensures inner button text is visible in IE7. Fixes #2058. Yay. 2011-07-15 11:42:25 -04:00
scottjehl
6da7e4a1dc Made loading message configurable at runtime. Fixes #2044. Fixes #1974. Fixes #1947. 2011-07-14 22:46:06 -04:00
Todd Parker
12d52772cb Merge pull request #2075 from mattopenstack/master
Small update to doc readme for running the repo locally. Thanks mattopenstack!
2011-07-14 08:40:19 -07:00
Matt
00f86c83f0 update docs regarding running demos 2011-07-14 07:22:25 -07:00
John Bender
af3877be43 tests updated to accomodate relative hash references 2011-07-13 16:04:24 -07: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
584e3070ae Unit tests for issue #1526 2011-07-12 23:32:22 -07:00
Ghislain Seguin
3062d385b8 Fix for issue #1526 2011-07-12 23:32:10 -07:00
Ghislain Seguin
8623b67a41 Merge pull request #2062 from taktran/patch-1
Fixed up spelling mistake.
2011-07-12 16:50:05 -07:00