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.

This commit is contained in:
scottjehl 2011-07-21 08:04:12 -04:00
parent f70a947552
commit 1a828594f5

View file

@ -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 */