Commit graph

1398 commits

Author SHA1 Message Date
John Bender
ff8a1ceefa .call on shared 2011-08-08 13:53:53 -07:00
John Bender
426da8f495 centralizing options 2011-08-08 13:33:24 -07:00
John Bender
76adbc9293 minimize extension in individual widgets 2011-08-08 13:31:50 -07:00
John Bender
5c76de355a shared components moved to shared init function 2011-08-08 12:52:32 -07:00
John Bender
9eec8df520 moved native shared component into shared, will do the same for custom 2011-08-08 12:07:37 -07:00
John Bender
64a9b595d3 start of seperation of native select 2011-08-08 11:40:26 -07:00
John Bender
bac747498f small refactor before final split 2011-08-07 21:04:53 -07:00
John Bender
d293e968f9 moved _buildList into custom 2011-08-05 15:35:13 -07:00
John Bender
7494e398a5 moved open to custom and added a test for native select change removing the button down class 2011-08-05 14:45:08 -07:00
John Bender
3133ccbc3a moved close to custom, and disable/enable methods common with tests for enable/disable 2011-08-05 12:21:45 -07:00
John Bender
c739597755 core style guide 2011-08-05 09:37:55 -07:00
John Bender
7e09b9af28 ghetto cherry pick of custom dialog fix for chrome redraw issue and height calculation stability 2011-08-05 09:32:40 -07:00
John Bender
58631807d4 moved common refresh functionality up 2011-08-02 16:00:37 -07:00
John Bender
edfef386b1 moved refresh to individual widgets, still some duplication to be moved into the common 2011-08-02 14:08:42 -07:00
John Bender
1d00ee316e forgotten bind on pagehide to fix height calculation issues 2011-08-02 12:38:53 -07:00
John Bender
be0dbb9b10 fixed some minor whitespace issues 2011-08-02 09:30:28 -07:00
John Bender
3950542884 made sure the dialog test fails many times, added an extra todo for moving the functionality to find the current theme if its not specified to a generic location 2011-08-02 09:30:28 -07:00
John Bender
b8451c5557 moved element creation and propertie declaration into the common object 2011-08-02 09:29:01 -07:00
John Bender
6e343c20cb fixed double wrap from local variables 2011-08-02 09:26:31 -07:00
John Bender
30c2e6c6a4 moved most of the build functionality to delegate objects 2011-08-02 09:26:31 -07:00
John Bender
0e7ded7709 create -> build, and list build up moved 2011-08-02 09:26:31 -07:00
John Bender
9014e243fb custome menu select creation begun 2011-08-02 09:26:31 -07:00
John Bender
4aa32698de move native menu creation to delegate object 2011-08-02 09:26:30 -07:00
John Bender
89e6f59bb3 Revert "removed the custom menu portions of the selectmenu, which will be moved to select.custom.js, which is non-functional in this commit"
This reverts commit c318c5b7cf7d51a69438071cbfbcf307a27c7b7d.
2011-08-02 09:26:30 -07:00
scottjehl
db22dfa111 removed the custom menu portions of the selectmenu, which will be moved to select.custom.js, which is non-functional in this commit 2011-08-02 09:21:21 -07:00
Scott Jehl
b7a19b604c Merge pull request #2184 from rwldrn/jquery.mobile.fixHeaderFooter.js
Core Style Conformance updates; jquery.mobile.fixHeaderFooter.js
2011-08-02 07:24:08 -07:00
John Bender
f1d964e9e9 fix for cached page removal breaking dialog sized select menus Fixes #2181 2011-08-01 18:08:28 -07:00
Rick Waldron
627b9189d6 Core Style Conformance updates; jquery.mobile.fixHeaderFooter.js 2011-08-01 18:34:49 -04:00
scottjehl
faf26d8f6d namespaced $.fixedToolbars to $.mobile. Kept a deprecated pointer to $.fixedToolbars that we'll want to remove later. This feature can now be documented. Addresses Issue #2024 2011-07-31 20:35:18 -04:00
scottjehl
ee17b4f05c Ensure that navigating backwards through dialogs works as expected when domCache is false (which is the default now). 2011-07-31 10:03:22 -04:00
scottjehl
be74405b49 Added a configurable timeout to $.mobile.loadPage to give pages that are being fetched from cache a little time to load before a loading message appears. We'll need to tweak this timer based on device testing to determine how long it takes on average to fetch a cached page. If the delay ends up needing to be longer than 300ms or so to suit some devices, it's probably not worth having this feature at all. 2011-07-30 08:33:04 -04:00
scottjehl
bdba60efd5 removed urlHistory references to (and use of) each entry's "page" property, which kept a reference to the DOM elements of each page that had been loaded. This fixes leaking memory on removed pages, and outsources page requests to the browser cache (for real this time :) ). 2011-07-29 19:51:17 -04:00
John Bender
50acf2eb7c fix to use options defined on page widget to determing domCache settings 2011-07-29 12:55:40 -07:00
John Bender
27b4ba1691 ajaxDomCaching -> domCache 2011-07-29 10:10:26 -07:00
John Bender
180243e9ad added a todo for the subpage tracking 2011-07-29 10:10:26 -07:00
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
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
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
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
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