Kin Blas
7f8438e966
Merge branch 'master' into fastclick
...
Conflicts resolved:
js/jquery.mobile.forms.select.js
2011-03-18 09:15:01 -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
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
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
6ca8b9f700
Merge branch 'master' into fastclick
2011-03-09 14:25:58 -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
96a308cc6b
Merge branch 'master' into fastclick
2011-03-08 09:10:07 -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
eddiemonge
2cb7ff0814
Issue: 733; Defaults form submits to GET method when method is not defined to prevent crashing Android's default browser
2011-03-03 17:45:34 -08:00
Kin Blas
b8c73e2599
Merge branch 'master' into fastclick
2011-02-28 09:41:40 -08:00
Martin Kou
df21c701b5
Fixed animationComplete return value bug.
2011-02-27 22:07:34 -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
730dae0fc1
Merge branch 'master' into fastclick
2011-02-25 20:41:09 -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
Kin Blas
de0f12f164
Merge branch 'master' into fastclick
2011-02-18 18:05:38 -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
Kin Blas
c063e1ce65
Changed "click" bindings to "vclick" for listview and anchors.
2011-02-18 12:40:30 -08:00
John Bender
709d12e4d6
resolved conflict for default dialog transition to pop
2011-02-16 22:52:14 -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
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
Alex Kovar
e3a5dd5b09
fixed base undefined error in firefox
2011-02-02 13:10:40 -06:00