Commit graph

2917 commits

Author SHA1 Message Date
John Bender
85114be097 use childPages method to abstract method for finding child pages, hopefully we can find something better than the url selector 2011-07-29 10:10:25 -07:00
John Bender
3035387446 first test for nested page removal/caching 2011-07-29 10:10:25 -07:00
John Bender
0cd7bb8370 whitespace fix for listview fixtures 2011-07-29 10:10:25 -07:00
John Bender
f79a1afd17 whitespace and semi's in listview core tests 2011-07-29 10:10:25 -07:00
John Bender
bda88be82e whitespace and semi's in listview core tests 2011-07-29 10:10:25 -07:00
John Bender
d716f3e9e7 moved dom cache check above the enhance to let widgets unbind parent page hide behaviour. added parent removal to listview special remove 2011-07-29 10:10:25 -07:00
John Bender
57a1e9abf7 whitespace and log statement in listview 2011-07-29 10:10:25 -07:00
scottjehl
115f1710b1 remove entire list when parent page is hidden and next page is not a sub list. Note: the unbind of the "pagehide.remove" does not appear to be preventing the parent page from removal, and it regenerates its sublists when revisiting that parent, since it was removed. 2011-07-29 10:10:25 -07:00
John Bender
1a95670012 added test for explicit page caching via data attribute 2011-07-29 10:10:25 -07:00
John Bender
151d55f351 moved dom cache test to page sequence, negative case incoming 2011-07-29 10:10:25 -07:00
John Bender
191815440f whitespace and missing semi 2011-07-29 10:10:25 -07:00
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