From 8a4ed4328147b036064e0ef105b4a7f3c1e80f91 Mon Sep 17 00:00:00 2001 From: Thomas Stachl Date: Fri, 19 Aug 2011 18:41:23 +0100 Subject: [PATCH] Load page should not enhance the page --- js/jquery.mobile.navigation.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 6a32b5c80ea..751af499323 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -719,14 +719,14 @@ } }); - enhancePage( page, settings.role ); + //enhancePage( page, settings.role ); // Enhancing the page may result in new dialogs/sub pages being inserted // into the DOM. If the original absUrl refers to a sub-page, that is the // real page we are interested in. - if ( absUrl.indexOf( "&" + $.mobile.subPageUrlKey ) > -1 ) { - page = settings.pageContainer.children( ":jqmData(url='" + dataUrl + "')" ); - } + //if ( absUrl.indexOf( "&" + $.mobile.subPageUrlKey ) > -1 ) { + // page = settings.pageContainer.children( ":jqmData(url='" + dataUrl + "')" ); + //} //bind pageHide to removePage after it's hidden, if the page options specify to do so