Skip to content
This repository
Browse code

relative url change per Kin Blas's last pre-vacation request

  • Loading branch information...
commit d827be3bf212d6d81470fe80f2f36f21c6f335c0 1 parent 584e307
John Bender authored July 13, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  js/jquery.mobile.navigation.js
2  js/jquery.mobile.navigation.js
@@ -563,7 +563,7 @@
563 563
 
564 564
 			// The absolute version of the URL passed into the function. This
565 565
 			// version of the URL may contain dialog/subpage params in it.
566  
-			absUrl = path.makeUrlAbsolute( url, documentBase.hrefNoHash );
  566
+			absUrl = path.makeUrlAbsolute( url, ( $.mobile.activePage && getClosestBaseUrl( $.mobile.activePage ) ) || documentBase.hrefNoHash);
567 567
 
568 568
 
569 569
 		// If the caller provided data, and we're using "get" request,

2 notes on commit d827be3

Scott Jehl

nice. very happy to see this one land :)

John Bender

yah, I'm sorry it took so long but I did need to sort out the test changes.

Please sign in to comment.
Something went wrong with that request. Please try again.