Commit graph

2066 commits

Author SHA1 Message Date
scottjehl
ef1b0d94ae added the $.mobile.listview.prototype.options.closeBtnText option for configuring the text of dialog back/close buttons. This also Fixes #1227 (or at least a note within that already-closed issue). Documentation included. 2011-03-27 14:10:16 -04:00
scottjehl
315c594572 Added "filterPlaceholder" option to allow configuring filter listview placeholder text. Documented here: jquerymobile.com/test/#docs/lists/docs-lists.html. Fixes #1227 2011-03-27 14:01:59 -04:00
scottjehl
56fd116236 make sure change event is fired on native select element when custom menu triggers a new selected item. Fixes #1109 2011-03-27 13:45:19 -04:00
scottjehl
58c0d1d1fb no longer needed, as anchors now fill the LI and have no click handling applied. 2011-03-27 13:35:27 -04:00
scottjehl
f4e5492b9e make sure close button on small multi-select menus still works. Fixes #1293 2011-03-27 13:21:16 -04:00
scottjehl
aab6cf4012 Fixed an issue where custom selects within dialogs always opened full-screen and not as overlays. Fixes #1277. Note: this change removes code that stated Firefox had trouble with getting outerHeight on a hidden page, but I found that no longer to be true, so I'm assuming this was fixed in Core. 2011-03-27 13:15:06 -04:00
scottjehl
732a11089b make sure page backgrounds and general page height fills the height of the browser, particularly with dialogs. Fixes #1033 2011-03-27 12:53:22 -04:00
scottjehl
d66cd439f0 removed a console log 2011-03-27 12:46:51 -04:00
scottjehl
241500a422 quick sample page for testing selects in dialogs 2011-03-27 12:38:33 -04:00
scottjehl
c50158c837 Just comments, code order, and whitespace, but also confirming: This Fixes #1171, where a page loading error prevents future page loads from working.
Confirmed on this page. Scroll down and click the error message, than another link to navigate elsewhere.
http://jquerymobile.com/test/#docs/pages/docs-pages.html
2011-03-27 12:27:50 -04:00
scottjehl
450099213b fixed up the unit test for fieldcontain with namespacing and similar JS links in head. 2011-03-27 12:01:36 -04:00
BradBroulik
1f5259a7ee Added code coverage for fieldcontain module. 2011-03-27 23:54:24 +08:00
scottjehl
4a45d8d96b Added pageLoadErrorMessage option. Defaults to "Error Loading Page". Documentation included. Fixes #1258 and Fixes #363 2011-03-27 11:45:03 -04:00
scottjehl
97d30aa47f Merge remote branch 'origin/master' 2011-03-27 02:24:38 -04:00
scottjehl
1f703625c1 css fix for split button icons. This concludes the listview markup refactor, which allows us to remove many previous workarounds that dealt with anchor elements not filling the whole list dimension (and requiring us to trigger clicks and mimic default anchor clicking when not using Ajax... ). That was bad. This is good. Fixes #652 and Fixes #596. 2011-03-27 02:21:02 -04:00
John Bender
73a39ab7ec fixed poorly chosen selector in test and moved generated anchor markup into hidden page 2011-03-27 02:07:31 -04:00
scottjehl
07333e3482 moved padding to anchor rather than inner div 2011-03-27 01:59:55 -04:00
scottjehl
368b875a02 delegated clicks on anchors don't seem to cause the same visual problems in WinMo7 that they did when click events were bound to LIs. Removing workaround then! 2011-03-27 01:59:36 -04:00
scottjehl
baa37e94b5 markup fixes 2011-03-27 01:47:58 -04:00
John Bender
1bd3617543 fixed poorly chosen selector in test and moved generated anchor markup into hidden page 2011-03-26 22:32:28 -07:00
scottjehl
bbfb91b45a markup fix 2011-03-27 01:21:53 -04:00
scottjehl
8397afba8c markup fix 2011-03-27 01:16:17 -04:00
scottjehl
b2f4f06f7d make sure inner button gets corner rounding as well in listviews. Fixes a regression from earlier. 2011-03-27 01:14:46 -04:00
scottjehl
fd5b3210e4 used :hidden selector instead 2011-03-27 00:48:30 -04:00
scottjehl
0780e40a69 straightened out some failing tests so they match the new markup conventions 2011-03-26 23:47:14 -04:00
scottjehl
a0ebb5223b find first image child of LI or of firstchild anchor 2011-03-26 23:46:47 -04:00
scottjehl
a496bc3bb7 used data-rel to find back buttons 2011-03-26 22:34:36 -04:00
scottjehl
bed18f1bc9 updated to latest, adjusted first test to click the anchor 2011-03-26 22:33:33 -04:00
scottjehl
c66efa3c17 updated to latest, adjusted 2nd test to click the anchor 2011-03-26 22:33:06 -04:00
scottjehl
de21e9e628 trigger click on the link instead 2011-03-26 21:31:14 -04:00
scottjehl
9a4663073d removed default click simulator now that listviews no longer tricker clicks. 2011-03-26 21:29:24 -04:00
scottjehl
f8e406dd7f more markup cleanup to support the new hierarchy 2011-03-26 21:29:24 -04:00
scottjehl
6cd2e9164a removed delegated LI click handling. Native anchors will provide 2011-03-26 21:29:24 -04:00
scottjehl
84b55548d3 more updates to the listview markup, styles and scripts to allow wrapped anchors 2011-03-26 21:29:24 -04:00
scottjehl
72fe3a2c21 initial markup changes 2011-03-26 21:29:24 -04:00
John Bender
6965d4d24c removed console from test helper 2011-03-26 17:29:58 -07:00
John Bender
c3854fe8ca added simple helper to rerun qunit tests 2011-03-26 17:27:33 -07:00
John Bender
0c59d527c3 fix for listview blank page, ui widget sets the data using the non namespaced fn. needs further consideration 2011-03-26 16:20:12 -07:00
scottjehl
665e87dd5b make sure an undefined prop stays undefined 2011-03-26 17:48:21 -04:00
scottjehl
fcbbb58de2 Merge remote branch 'origin/master' 2011-03-26 17:36:56 -04:00
scottjehl
fe3d0b537b updated to use new data method 2011-03-26 16:32:16 -04:00
scottjehl
0ebab16a9a updated to use new data method 2011-03-26 16:31:55 -04:00
scottjehl
b950f1c319 changed to just call dialog close method 2011-03-26 15:01:25 -04:00
scottjehl
8880ceb431 jqm coding style 2011-03-26 14:17:19 -04:00
scottjehl
1aafea83aa semicolon 2011-03-26 14:16:08 -04:00
scottjehl
e8cee23744 major simplification of jqmData method, while adding new methods for jqmRemoveData, and also their $-namepaced utility methods, including $.jqmHasData. Commit includes 20 new unit tests included to test compatibility with jQuery core's data methods, and docs are updated as well. 2011-03-26 14:14:02 -04:00
scottjehl
963840a3b0 moved some selectors over to :jqmData() 2011-03-26 10:18:32 -04:00
scottjehl
491d4a6873 moved some selectors over to :jqmData() 2011-03-26 10:15:27 -04:00
scottjehl
2add396bb2 moved some selectors over to :jqmData() 2011-03-26 10:14:48 -04:00
scottjehl
f78e7b0a6a moved to :jqmData selector 2011-03-26 10:12:16 -04:00