Commit graph

133 commits

Author SHA1 Message Date
John Bender
215aded824 fixed path detection for when linking from embedded pages to file paths Fixes #1305 2011-03-30 01:08:15 -07:00
John Bender
3a758f97fa navigation whitespace 2011-03-30 01:08:15 -07:00
Kin Blas
1f2c7fd537 Merge branch 'master' into fastclick
Resolved Conflicts:
	js/jquery.mobile.navbar.js
2011-03-29 09:03:05 -07:00
John Bender
97783bdbd1 added page tracking to history stack and handling for dialog to dialog transitions in hashchange 2011-03-28 00:41:33 -07:00
jblas@adobe.com
729cda075a Merge branch 'master' into fastclick
Resolved Conflicts:
	js/jquery.mobile.buttonMarkup.js
	js/jquery.mobile.event.js
	js/jquery.mobile.forms.checkboxradio.js
	js/jquery.mobile.forms.select.js
	js/jquery.mobile.listview.js
2011-03-27 21:00:22 -07: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
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
9a4663073d removed default click simulator now that listviews no longer tricker clicks. 2011-03-26 21:29:24 -04:00
Kin Blas
004860c209 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-03-25 23:47:32 -07:00
Kin Blas
90e167a4f6 Some "page" data calls were accidentally switched to jqmData(). The widget code actually uses data() so we need to make sure we match.
A couple of data() to jqmData() changes were missed.
2011-03-25 23:44:02 -07:00
John Bender
6089618431 readded fix to return jquery wrapped object from animation complete in both branches 2011-03-25 22:35:19 -07:00
John Bender
4fe0b29a0f Merge branch 'data-namespacing' 2011-03-25 18:46:00 -07:00
scottjehl
7503f62a10 changed our two new custom data helper names to jqmData() and :jqmData() 2011-03-25 17:50:40 -04:00
scottjehl
61005944d3 Added support for the target attribute on forms (such as target="_blank"). When set, the form handler simply allows the native handling to apply. Unlike anchors however, the rel attribute is not allowed on forms. If you're purely looking to submit a single form without ajax, you can use the data-ajax="false" attribute as well. Fixes #952 and docs updates are included 2011-03-24 00:59:42 -04:00
scottjehl
39476d151a added support for data-transition and data-direction on form elements. Fixes #1275 2011-03-24 00:45:15 -04:00
scottjehl
7b0fa3b48c If action attribute is undefined, default to path.get(). Fixes #766 2011-03-24 00:36:24 -04:00
scottjehl
acc771b046 make sure type is not a 0-length string, as it would be if left undefined in the markup. Fixes #766 2011-03-24 00:33:59 -04:00
scottjehl
e6095a357a if type attr is used from method attr, make sure it's lowercase first. Fixes #1280. Still needs a unit test but I'll need to think about how best to do it. 2011-03-24 00:30:26 -04:00
Kin Blas
db89e1f24d Switch find/filter selector calls over to using the new :jqdata() pseudo selector. 2011-03-22 13:31:17 -07:00
Kin Blas
08fa6a2ac8 Got rid of the if/else isExternal check because we need to make sure we check cross domain URLs against isRelExternal. 2011-03-21 10:32:24 -07:00
Kin Blas
2aab30b7a6 Initial changes to allow for cross-domain URLs to be loaded as pages within Phone Gap's web view. I still need to figure out how we're going to set the application URL hash for these cross-domain URLs, and allow for reloading the URL via deep links. 2011-03-18 17:53:06 -07:00
Kin Blas
7f8438e966 Merge branch 'master' into fastclick
Conflicts resolved:
	js/jquery.mobile.forms.select.js
2011-03-18 09:15:01 -07:00
John Bender
63e8f6bfcb resolved merge conflicts and fixed 2 tests 2011-03-15 23:57:17 -07:00
scottjehl
09ffa3aa5f Clarified data-ajax=false on forms. Fixes #1134 2011-03-15 18:49:39 -04:00
adammessinger
2bfdd02a51 Fix for issue #900: buttons with rel attribute set to external don't show active state 2011-03-15 11:30:19 +08:00
Phil Barnes
b740854ae7 Pass null event param for page _trigger beforehide and beforeshow -- Fixes issue #700 2011-03-15 07:41:32 +08:00
scottjehl
ddcacc1482 changed from ternary to || 2011-03-14 19:34:16 -04:00
scottjehl
330f866143 Merge branch 'bug_733' of https://github.com/eddiemonge/jquery-mobile into eddiemonge-bug_733 2011-03-14 19:31:15 -04:00
Kin Blas
dbcf4d0373 Merge branch 'master' into fastclick 2011-03-14 11:38:00 -07:00
scottjehl
c4685ac14f replace the current path in the url when checking if it's a null # href. This ensures # hrefs won't follow default behavior in IE / Win Phone. 2011-03-14 00:20:24 -04:00
scottjehl
60d75f008c fixed Ajax navigation in Windows Phone 7. Since all urls are absolute in IE, we need to check if the href has a protocol up front, and if so, later on, make sure we don't prefix it with a base path because it doesn't need one. 2011-03-14 00:20:24 -04:00
scottjehl
0f9eb85240 removed a TODO about changing the changePage function's arg structure. We can revisit this again if it ends up causing problems, but for now, it's not hurting anything and people are already using it. Fixes #1152 2011-03-13 21:59:51 -04:00
John Bender
1911dba7d7 small refactor for clean 2011-03-12 14:37:45 -08:00
John Bender
f555a27e34 fix for protocol and host included as params in path.clean 2011-03-12 14:37:45 -08:00
John Bender
8cac1c5777 word boundy added back with proper escape sequence 2011-03-12 12:05:07 -08:00
John Bender
94ade0f86e fixed failing data-url regex, bizarri difference in behaviour with Regex objects and literals 2011-03-12 00:10:40 -08:00
Kin Blas
b00d05b81c Merge branch 'master' into fastclick 2011-03-11 10:33:11 -08:00
John Bender
a2747915c5 corrected issue with setting forward and back values for changepage closure 2011-03-09 23:27:59 -08:00
John Bender
8803bee3bb fixed zero index bug for directHashChange 2011-03-09 22:55:07 -08:00
John Bender
224c0a90ca removed unnecessary variables in hashchange callback 2011-03-09 22:55:07 -08:00
John Bender
150f0f6c17 moved global hashchange disable check above dialog check 2011-03-09 22:55:06 -08:00
John Bender
c9416a09a7 moved urlHistory refs to this where possible 2011-03-09 22:55:06 -08:00
John Bender
1ad0769862 refactored determining of back or forward and added callbacks for both cases 2011-03-09 22:55:06 -08:00
John Bender
6e64ccf308 moved dialog skipping to the hashchange callback, needs a refactor 2011-03-09 22:53:38 -08:00
scottjehl
ea60207c1b changed custom data method to $.fn.mobileData() and updated plugins that use it. 2011-03-09 23:27:21 -05:00
scottjehl
19f5fd7cae changed the default namespace to "" and updated the docs/demos as such 2011-03-09 22:36:14 -05:00
scottjehl
3cae8f8bf0 caught a few more 2011-03-09 21:03:40 -05:00
scottjehl
77ac0f009a a few more non-namespaced attrs to bring over 2011-03-09 21:03:40 -05:00
scottjehl
9e91fa6752 updated docs with jq namespace, found some more stragglers 2011-03-09 21:03:40 -05:00
scottjehl
2e7ee89ec3 updated attr lookups to use namespace 2011-03-09 20:49:42 -05:00