Commit graph

2906 commits

Author SHA1 Message Date
scottjehl
2b1baeb078 fixed up unit test so that it's now properly testing the ajax dom caching page option 2011-07-29 10:10:25 -07:00
scottjehl
a8c3859d84 using regular data method to access widget 2011-07-29 10:10:25 -07:00
scottjehl
dc054a10e7 implemented ajax dom caching option of the page plugin, which can be overridden by page options or data attribute. Includes unit test to support feature. 2011-07-29 10:10:25 -07:00
Todd Parker
1e01306559 Merge pull request #2166 from ovargas27/master
Text Input plugin with new API docs format
2011-07-28 19:55:49 -07:00
Omar Vargas
b13e9cede5 Update text input plugin link 2011-07-28 18:00:52 -05:00
Ghislain Seguin
30e8ea8e09 Coding standards 2011-07-28 15:25:57 -07:00
Ghislain Seguin
29c408f32a Merge remote-tracking branch 'upstream/master' 2011-07-28 15:25:10 -07:00
Ghislain Seguin
703d31073e Merge pull request #2102 from kpozin/patch-6
Cache option indices in <li>s in custom select menus instead of doing linear search on every click
2011-07-28 15:21:52 -07:00
Omar Vargas
b9127f6eb3 Text Input plugin with new API docs format 2011-07-28 16:37:29 -05:00
toddparker
0bf8b7c8de Minor content tweaks. 2011-07-28 17:00:59 -04:00
toddparker
650c2c5156 Added initSelector option documentation 2011-07-28 17:00:32 -04:00
toddparker
5413459d6d Removed quotes around boolean value examples. 2011-07-28 16:43:05 -04:00
toddparker
433f9af612 Updated markup to match the new API styles 2011-07-28 16:41:02 -04:00
toddparker
aac698520e Added clearer messaging about dom ready and how to use pagecreate instead. 2011-07-28 16:26:34 -04:00
toddparker
91dfba1d0a Fixed a path issue in the assets for these pages. Needed an extra hop for the CSS files. 2011-07-28 12:29:20 -04:00
toddparker
9ae4115ec8 Fixed broken paths in this page. We still need to figure out what to do with this page since it's sort of a duplicate of the homepage. 2011-07-28 12:23:43 -04:00
toddparker
9a82e3c59e Missed fixing the home link path. Added another ../ 2011-07-28 12:02:55 -04:00
toddparker
ece805a55b Merge remote branch 'origin/master' 2011-07-28 12:01:09 -04:00
toddparker
5c603198e7 Created a new API docs format for people to help us populate. Started with just the select menu API docs to server as a template for others. Each plugin is now in a folder with a local nav between index (summary), options, methods, and events. 2011-07-28 12:00:36 -04:00
scottjehl
263193f490 Moved autoinit calls to after widgets. Made it so auto init selectors use the initSelector option, so that it can be configurable. 2011-07-27 18:42:16 -04:00
Ghislain Seguin
6ff9d9a06a Coding standards 2011-07-27 11:22:13 -07:00
Ghislain Seguin
d1e8083f15 Merge pull request #2152 from webmynd/master
Consider data-role when picking page transition in changePage
2011-07-27 10:04:39 -07:00
Ghislain Seguin
f84f359743 Merge pull request #2154 from SamuelKC/bug_2064
Fix for issue #2064
2011-07-27 09:53:20 -07:00
Scott Jehl
2c4615176d Fixed typo in reference to initSelector default value. 2011-07-27 11:58:20 -03:00
Samuel Padou
051855e94d Bug 2064; Add try/catch block to prevent 'Unspecified error' when we use an IFrame on IE9 2011-07-27 14:53:27 +02:00
James Brady
9cf3a60dee Consider data-role when picking page transition.
Re-use existing "isDialog" variable in changePage,
instead of just looking at settings.role.
2011-07-27 12:24:41 +01:00
Scott Jehl
705ed4f308 typo in comment 2011-07-26 17:04:36 -03:00
scottjehl
e07c40e3d0 exposed automatic initialization selectors on most widgets that expose options through the widget factory. Option name is "initSelector" 2011-07-26 14:22:08 -04:00
scottjehl
79d3aa6f04 brought back degradeInputs page option, this time as a decoupled page plugin file. Fixes #2123 2011-07-26 13:49:10 -04:00
scottjehl
7b051e0305 Merge remote branch 'origin/master' 2011-07-26 09:37:08 -04:00
scottjehl
30c94575c2 updated docs to include autoInitializePage option. Fixes #1391 2011-07-24 22:21:16 -04:00
scottjehl
d670feae08 removed test for page-div-not-required, as it has its own test page.. Added tests for auto initialize option. 2011-07-24 22:13:26 -04:00
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
1dd3f4bbb3 removed background unset from fieldcontains. No good reason to keep that in there. 2011-07-21 12:32:06 -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