File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 561561 // page is loaded off the network.
562562 dupCachedPage = null ,
563563
564+ // determine the current base url
565+ findBaseWithDefault = function ( ) {
566+ var closestBase = ( $ . mobile . activePage && getClosestBaseUrl ( $ . mobile . activePage ) ) ;
567+ return closestBase || documentBase . hrefNoHash ;
568+ } ,
569+
564570 // The absolute version of the URL passed into the function. This
565571 // version of the URL may contain dialog/subpage params in it.
566- absUrl = path . makeUrlAbsolute ( url , ( $ . mobile . activePage && getClosestBaseUrl ( $ . mobile . activePage ) ) || documentBase . hrefNoHash ) ;
572+ absUrl = path . makeUrlAbsolute ( url , findBaseWithDefault ( ) ) ;
567573
568574
569575 // If the caller provided data, and we're using "get" request,
You can’t perform that action at this time.
0 commit comments