replace pageLoading with {show|hide}PageLoadingMsg

This commit is contained in:
fredj
2011-12-07 14:18:09 +01:00
parent 344d645b29
commit ae56952f00

View File

@@ -62,7 +62,7 @@ $(document).ready(function() {
if ($('#query')[0].value === '') {
return;
}
$.mobile.pageLoading();
$.mobile.showPageLoadingMsg();
// Prevent form send
e.preventDefault();
@@ -89,7 +89,7 @@ $(document).ready(function() {
.show();
});
$('#search_results').listview('refresh');
$.mobile.pageLoading(true);
$.mobile.hidePageLoadingMsg();
});
});
// only listen to the first event triggered