Commit graph

1735 commits

Author SHA1 Message Date
John Bender
408c98322a whitespace in mobile widget 2011-11-02 14:23:29 -07:00
jblas@adobe.com
8c81959a7d Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-11-01 14:59:36 -07:00
jblas@adobe.com
e056d20728 Some minor listview tweaking to eliminate 1200 $.fn.find calls in our 400 item listview test case.
- Moved some of the finds we used to do for every item, out of the processing loop so we do just 3 big finds. This shaves off 200-300ms on iPad iOS 4.3.5.
2011-11-01 14:57:31 -07:00
John Bender
010e93152d Merge pull request #2899 from jpfiset/master
Fix for issue #2897
2011-11-01 09:44:43 -07:00
jblas@adobe.com
ebd7e04ce0 More enhancement optimizations:
- Modified buttonMarkup so that it checks options against undefined before calling jqmData(). This is necessary because false is a valid option.

- Modified listview so that it doesn't check for a data-counttheme unless it actually has a count item.
2011-11-01 09:26:41 -07:00
Jean-Pierre Fiset
bd5f62cb3c Fix for issue #2897 2011-11-01 11:00:27 -04:00
jblas@adobe.com
86e4e6fb43 Some code optimizations to speed up page enhancement.
- Avoid using $.each() when you can directly iterate on the collection. This avoids extra function calling overhead.

- Avoid calling jqmData() for options that are specified.

- Avoid calling $.fn.wrapInner(), creating the DOM nodes manually is much faster.
2011-10-31 23:45:42 -07:00
John Bender
a8202d240d reference the buttonMarkup text wrapper element through data 2011-10-31 13:24:17 -07:00
John Bender
0ffaab8d22 switched to prop per @eddiemonge 2011-10-31 11:44:56 -07:00
Alex Roberts
6b767b4b8d Update form button text on refresh.
Allows submit button values to change dynamically, and update accordingly in the UI. Such as in the event a button should read "Update" instead of "Save".
2011-10-31 11:05:54 -07:00
Maurice Gottlieb
aec206b712 Fix for #2881 - @wilto Could you please review this:
Add the ui-overlay-shadow class to both, content and, if there, to the footer.
Then add the ui-corner-bottom-class to the last one.
2011-10-29 16:52:31 +03:00
Ghislain Seguin
f81888c4e1 Fix for #2865: when it's the first time we load the page, use the page title if there is one 2011-10-27 22:28:14 -07:00
Ghislain Seguin
3e99437104 Merge pull request #2873 from eddiemonge/patch-1
Some code cleanup
2011-10-27 22:20:24 -07:00
Ghislain Seguin
03e63af26f Merge pull request #2874 from eddiemonge/patch-2
Proposed fix for 2847
2011-10-27 22:19:28 -07:00
Todd Parker
6264d95da2 Merge pull request #2812 from redaemn/flip-switch-improvements
Fix for issue #2756 - flip toggle slider animated snapping. Thanks redaemn!
2011-10-27 18:31:39 -07:00
Eddie Monge Jr.
5a285701a8 Proposed fix for 2847 2011-10-27 18:10:49 -07:00
Eddie Monge Jr.
c04755d859 Some code cleanup 2011-10-27 18:09:01 -07:00
Ghislain Seguin
5804e364c1 Revert "on page-reload, i believe, toPage.jqmData( "title" ) is null and the page-header-text is always used"
This reverts commit 3d0f10d186.
2011-10-27 15:28:22 -07:00
Maurice Gottlieb
3d0f10d186 on page-reload, i believe, toPage.jqmData( "title" ) is null and the page-header-text is always used 2011-10-28 00:00:00 +03:00
Maurice Gottlieb
3622e5227a Fix for issue #2528 removing listviews glowing corners 2011-10-27 15:28:05 +02:00
Mat Marquis
410a169b2b Fixes an issue introduced in commit #b0db8976, where lack of indexOf() was keeping IE 6/7/8 (at least) from rendering anything at all. 2011-10-26 16:54:11 -04:00
jblas@adobe.com
3e0928fcb9 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-10-26 11:36:31 -07:00
jblas@adobe.com
1405a9453f Add the XHR object to the data passed to loadpage and loadpagefailed callbacks. This was a low-hanging-fruit enhancement request for issue #2503 - User can't specify own error handling logic. 2011-10-26 11:34:27 -07:00
John Bender
28e860f121 Merge pull request #2840 from eddiemonge/min_license
Standardize licenses in files and match jQuery core min license in min fi
2011-10-26 10:55:47 -07:00
jblas@adobe.com
9a4eb1d833 Fix for issue #2835 - pagechangefailed not triggered when changing to non-existent internal page
- Modified loadPage() so that it bails if an embedded page is not found within the DOM.
2011-10-25 17:06:01 -07:00
Eddie Monge
f6e319ef8a Standardize licenses in files and match jQuery core min license in min files 2011-10-25 11:15:19 -07:00
John Bender
580b376566 add a quick todo for a better possible solution for passing clicks from the label to the input 2011-10-25 10:55:30 -07:00
John Bender
4daed58a16 use triggerHandler to trigger click handler's bound to inputs on label click Fixes #1335 2011-10-25 10:53:20 -07:00
Gabriele Rabbiosi
ee05bb5576 Fixed issue #2631 - flip toggle switch animation improved 2011-10-23 14:30:10 +02:00
Mat Marquis
53099d8cc4 Re-addresses #2776, and corrects an issue introduced in pull request #2783. Incorrect default theme was being set on the backdrop of dialog-style select menus. 2011-10-22 13:21:45 -04:00
Gabriele Rabbiosi
396f8d019e Issue #2756 - flip toggle switch value can be changed when the switch is disabled 2011-10-22 17:05:05 +02:00
Ghislain Seguin
55d89893a2 Merge pull request #2492 from hpbuniat/search-filter-bar-2416
Fix for #2416
2011-10-21 16:48:20 -07:00
John Bender
78381c6fed account for dialog or other sub element enhancements 2011-10-21 16:30:07 -07:00
John Bender
6bd2805cb9 corrected commit: find the closest page to pull the keep native selector Fixes #2803 2011-10-21 16:25:19 -07:00
John Bender
1bc2aecc91 Revert "find the closest page to pull the keep native selector Fixes #2803"
This reverts commit 9e1a3cc5a4.
2011-10-21 16:25:19 -07:00
Eddie Monge
b0db897654 Button markup optimization 2011-10-21 16:08:28 -07:00
John Bender
9e1a3cc5a4 find the closest page to pull the keep native selector Fixes #2803 2011-10-21 15:56:26 -07:00
gseguin
04b2ec4c41 Revert "Small button markup optimization"
This reverts commit c496044a47.
2011-10-21 15:54:13 -07:00
Ghislain Seguin
7259e48077 Merge pull request #2806 from eddiemonge/btn_markup
Small button markup optimization
2011-10-21 15:42:53 -07:00
Eddie Monge
c496044a47 Small button markup optimization 2011-10-21 15:22:43 -07:00
gseguin
e897c66c6f Fix for issue #2225 2011-10-21 15:22:36 -07:00
toddparker
9e28d854c2 Reverting the last pull request, was causing a JS error and killing enhancement 2011-10-20 21:19:37 -04:00
toddparker
1496f5a485 Revert d61d6b0127953e10b17820cf1fdd14ed22a12c41^..HEAD 2011-10-20 21:18:03 -04:00
Todd Parker
d61d6b0127 Merge pull request #2768 from MauriceG/patch-10
fix for #2528 listviews: first list-item has "glowing" corners on top. Thanks MauriceG!
2011-10-20 17:07:05 -07:00
John Bender
8f5889a707 add linkBindingEnabled to mobile object for complex apps that want to handle all nav 2011-10-20 15:16:03 -07:00
Maurice Gottlieb
6e536eb6b5 fix for issue #2776: Select full page menus background wrong 2011-10-21 01:05:18 +03:00
Maurice Gottlieb
e5b123ce75 fix for #2528 listviews: first list-item has "glowing" corners on top 2011-10-20 20:11:39 +03:00
jblas@adobe.com
3130b52b3f Renamed the custom event I added to fix #2348 from "contentmodified" to "updatelayout" so that it reflects more of what it should be used for. Note that this also affects #2042 and the mention of collapsible in #2596. 2011-10-19 08:50:01 -07:00
John Bender
be59c77125 switch to stop propagation on checkbox/radio vmouse 2011-10-18 13:56:31 -07:00
John Bender
18767e5ac1 whitespace in checkbox radio 2011-10-18 13:56:31 -07:00