Skip to content

Commit 1a82859

Browse files
author
scottjehl
committed
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.
1 parent f70a947 commit 1a82859

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

js/jquery.mobile.navigation.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@
742742
data: undefined,
743743
reloadPage: false,
744744
role: undefined, // By default we rely on the role defined by the @data-role attribute.
745-
showLoadMsg: true,
745+
showLoadMsg: false,
746746
pageContainer: undefined
747747
};
748748

@@ -942,7 +942,8 @@
942942
fromHashChange: false,
943943
role: undefined, // By default we rely on the role defined by the @data-role attribute.
944944
duplicateCachedPage: undefined,
945-
pageContainer: undefined
945+
pageContainer: undefined,
946+
showLoadMsg: true //loading message shows by default when pages are being fetched during changePage
946947
};
947948

948949
/* Event Bindings - hashchange, submit, and click */

0 commit comments

Comments
 (0)