From 1a828594f5b667c82f8834db6f62ce9c9aff31fd Mon Sep 17 00:00:00 2001 From: scottjehl Date: Thu, 21 Jul 2011 08:04:12 -0400 Subject: [PATCH] default for loadPage should be to not show the loading message, since its default use case is to fetch a page that is not yet active. However, changePage should cause it to show because loadPage is being called during a page change. --- js/jquery.mobile.navigation.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 39e3c52f..804349ab 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -742,7 +742,7 @@ data: undefined, reloadPage: false, role: undefined, // By default we rely on the role defined by the @data-role attribute. - showLoadMsg: true, + showLoadMsg: false, pageContainer: undefined }; @@ -942,7 +942,8 @@ fromHashChange: false, role: undefined, // By default we rely on the role defined by the @data-role attribute. duplicateCachedPage: undefined, - pageContainer: undefined + pageContainer: undefined, + showLoadMsg: true //loading message shows by default when pages are being fetched during changePage }; /* Event Bindings - hashchange, submit, and click */