replace pageLoading with {show|hide}PageLoadingMsg
This commit is contained in:
@@ -62,7 +62,7 @@ $(document).ready(function() {
|
|||||||
if ($('#query')[0].value === '') {
|
if ($('#query')[0].value === '') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.mobile.pageLoading();
|
$.mobile.showPageLoadingMsg();
|
||||||
|
|
||||||
// Prevent form send
|
// Prevent form send
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
@@ -89,7 +89,7 @@ $(document).ready(function() {
|
|||||||
.show();
|
.show();
|
||||||
});
|
});
|
||||||
$('#search_results').listview('refresh');
|
$('#search_results').listview('refresh');
|
||||||
$.mobile.pageLoading(true);
|
$.mobile.hidePageLoadingMsg();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
// only listen to the first event triggered
|
// only listen to the first event triggered
|
||||||
|
|||||||
Reference in New Issue
Block a user