Commit graph

824 commits

Author SHA1 Message Date
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
Kin Blas
d612edd126 Fix for Issue 1195 - base href getting incorrectly set to include extra "/"
- Added code to base.set() that strips any leading slash from the path returned from path.get().
2011-03-09 17:23:36 -08:00
Kin Blas
ea77d0370d Fix for issue 1207 - Can't revisit the same page after visitin it, hitting the back button and clicking its link
- This was a regression introduced by 20dce2ce. Added check for undefined newActiveIndex so we can tell the difference between the URL not being found, and a zero index.
2011-03-08 10:56:36 -08:00
Kin Blas
c85a9c3d00 Fix for issue 1198.
- Added the mobile namespace to the pageContainer reference. I think we may have missed this during the sweep when we added the mobile namespace.
2011-03-07 09:27:57 -08:00
ahallerblu
291bb306dd find the next entry in the urlstack that isn't a dialog Fixes #1061 2011-03-04 23:34:12 -08:00
John Bender
ea85b5a46f whitespace in init 2011-03-04 22:25:33 -08:00
John Bender
a4a8d859ca small refactor of core to unify call to extend 2011-03-04 22:25:33 -08:00
scottjehl
5403981434 Merge remote branch 'origin/master' 2011-03-04 16:28:07 -05:00
scottjehl
4c8453a15a updated to 1.5.1 from the RC 2011-03-04 16:28:01 -05:00
John Bender
608b39ed39 moved loading message after init to account for customization 2011-03-03 18:06:07 -08:00
Kin Blas
48ab0ec7d6 Prevent inputs and buttons of type="button" from getting the submit click handler added to them. 2011-03-01 14:04:48 -08:00
Martin Kou
df21c701b5 Fixed animationComplete return value bug. 2011-02-27 22:07:34 -08:00
John Bender
58b16a94b6 small refactor to disable check for checkbox radio 2011-02-26 23:59:17 -08:00
Martin Kou
2bb94172cf Fixed checkboxradio disable issue. 2011-02-26 23:55:37 -08:00
Bra1n
c828cf1f64 prevent setting the data url on pages where it is already set 2011-02-26 23:25:07 -08:00
John Bender
20dce2ce42 small refactor to simplify newActiveIndex tracking 2011-02-25 23:24:03 -08:00
John Bender
86befdeaed removed unused var/global from navigation 2011-02-25 23:24:03 -08:00
Bra1n
6152e8f511 fixed page history direction search for duplicate entries 2011-02-25 23:24:03 -08:00
Kin Blas
b4a8222366 Fix for the remainder of issue 991.
- Looks like the "Intelligent Guess" default behavior of the $.ajax() method in jQuery 1.5.1 guesses wrong when attempting to load an HTML file via a file:// URL. It's guessing that it is an XML document, so it ends up passing in the DOM document node to our success callback, instead of the expected HTML as text (responseText), so our callback code does not behave correctly. We can get around this by simply specifying dataType:"html" at the time we make a request.
2011-02-25 18:23:26 -08:00
John Bender
497f45ae81 Merge branch 'checkboxradio-typo-bugfix' of https://github.com/martinkou/jquery-mobile into martinkou-checkboxradio-typo-bugfix 2011-02-24 22:22:11 -08:00
John Bender
338e5cb96a movied variables in listview filter to camel case convention used elsewhere 2011-02-24 00:07:27 -08:00
Ernesto Jiménez
dae3e2fa74 Proper support for lists with search filter and dividers 2011-02-23 17:42:47 +00:00
Martin Kou
796c8642bd Fixed a typo in checkboxradio which causes JS errors. 2011-02-20 18:32:02 -08:00
John Bender
2704975095 re arranged tests for mobile init 2011-02-20 18:07:17 -08:00
John Bender
a64a44504b moved page additions after gradeA check in init and removed from core 2011-02-20 18:07:17 -08:00
John Bender
b21531a0ac left gradeA in core, added todo for page element addition refactor 2011-02-20 18:07:17 -08:00
John Bender
891f9b1b07 moved initialization down in the build order, still requires some small refactoring 2011-02-20 18:07:17 -08:00
scottjehl
b6b7aebe14 null hrefs should just preventDefault and return, rather than returning false. Fixes #1118 2011-02-18 16:46:28 -05:00
scottjehl
00a8082acc updated to jQuery 1.5.1 RC 2011-02-18 16:43:20 -05:00
scottjehl
670ec15661 switched collapsibles over to tap event. Fixes #1056 2011-02-18 12:43:34 -05:00
John Bender
709d12e4d6 resolved conflict for default dialog transition to pop 2011-02-16 22:52:14 -08:00
unknown
ee1a8c1977 listview thumb styling via listview('refresh'). Fixes 947 2011-02-16 22:25:37 -08:00
John Bender
61b7b2e002 removed unnecessary var declaration 2011-02-16 19:55:01 -08:00
Ernesto Jiménez
9aa1a38a32 Reviewing the code realised that this var was implicitly declared as global. 2011-02-16 22:22:28 +00:00
John Bender
3759f87173 reverted to regex method of retrieving the data-url from ajax loaded content to guarantee base is set, regex's courtesy of jblas 2011-02-15 22:24:15 -08:00
John Bender
f301018c1c added an extra parameter to data url element to match reported issue in pull request 2011-02-14 17:33:06 -08:00
John Bender
47d4a1fb0a refactor/simplification of fix for broken regex matching data url in ajax loaded pages 2011-02-14 17:25:23 -08:00
John Bender
5a23721a92 whitespace fix for navigation 2011-02-14 17:23:25 -08:00
Ernesto Jiménez
09213738f3 Regular expression / data-url="(.*)"/ doesn't stop at the end of the attribute
but the last quotes in the HTML.

I have replaced wildcard . with [^"] to fetch only the attribute content.
2011-02-14 16:33:58 +00:00
Kin Blas
b696bda01b Cleaning up a bunch of jslint errors and warnings. 2011-02-08 13:13:59 -08:00
John Bender
3ca20f8362 resolved small conflict in test fixtures 2011-02-07 22:33:49 -08:00
Kin Blas
1c9414d030 Fix for issue #997 - Syntax Error (line 1711) alpha 3
- Escaped the slash characters inside the brackets of the href regexp.
2011-02-07 11:43:55 -08:00
John Bender
a025c0bffc backed out autoInitialize moving to feature request backlog 2011-02-06 21:18:51 -08:00
Alex Kovar
d970c20e4c fixed error when from is undefined 2011-02-05 14:03:31 -06:00
Alex Kovar
79929949db fix issue with failed page load not releasing page transition lock 2011-02-05 14:00:31 -06:00