mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-21 04:41:52 +00:00
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:
parent
f70a947552
commit
1a828594f5
1 changed files with 3 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue