Skip to content
This repository
Browse code

Fix for Issue 1578 - Can't load file:// pages

This was caused by this checkin:

4b4ee54

The change caused the base tag to be reset to file:// (literally with no path).

All that was missing was a small tweak to base.reset() to use the new initialPath variable instead of docBase.
  • Loading branch information...
commit e775f5e83a2b769479baeacc79c6912b381f5950 1 parent 4b4ee54
Kin Blas authored May 06, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  js/jquery.mobile.navigation.js
4  js/jquery.mobile.navigation.js
@@ -240,7 +240,7 @@
240 240
 
241 241
 			//set the generated BASE element's href attribute to a new page's base path
242 242
 			reset: function() {
243  
-				base.element.attr( "href", docBase );
  243
+				base.element.attr( "href", initialPath );
244 244
 			}
245 245
 
246 246
 		} : undefined;
@@ -866,4 +866,4 @@
866 866
 		}
867 867
 	});
868 868
 
869  
-})( jQuery );
  869
+})( jQuery );

0 notes on commit e775f5e

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