Changes in branches/version-2_11-dev/data/Smarty/templates/sphone/frontparts/bloc/news.tpl [21207:21453]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/Smarty/templates/sphone/frontparts/bloc/news.tpl
r21207 r21453 47 47 48 48 function getNews(limit) { 49 $.mobile. pageLoading();49 $.mobile.showPageLoadingMsg(); 50 50 var i = limit; 51 51 … … 58 58 error: function(XMLHttpRequest, textStatus, errorThrown){ 59 59 alert(textStatus); 60 $.mobile. pageLoading(true);60 $.mobile.hidePageLoadingMsg(); 61 61 }, 62 62 success: function(result){ … … 93 93 newsPageNo++; 94 94 } 95 $.mobile. pageLoading(true);95 $.mobile.hidePageLoadingMsg(); 96 96 } 97 97 }); … … 101 101 function getNewsDetail(newsId) { 102 102 if (loadingState == 0) { 103 $.mobile. pageLoading();103 $.mobile.showPageLoadingMsg(); 104 104 loadingState = 1; 105 105 $.ajax({ … … 112 112 error: function(XMLHttpRequest, textStatus, errorThrown){ 113 113 alert(textStatus); 114 $.mobile. pageLoading(true);114 $.mobile.hidePageLoadingMsg(); 115 115 loadingState = 0; 116 116 }, … … 118 118 if (result.error) { 119 119 alert(result.error); 120 $.mobile. pageLoading(true);120 $.mobile.hidePageLoadingMsg(); 121 121 loadingState = 0; 122 122 } … … 143 143 }, 10); 144 144 145 $.mobile.changePage('#windowcolumn', 'slideup');145 $.mobile.changePage('#windowcolumn', {transition: "slideup"}); 146 146 //ダイアログが開き終わるまで待機 147 147 setTimeout( function() { 148 148 loadingState = 0; 149 $.mobile. pageLoading(true);149 $.mobile.hidePageLoadingMsg(); 150 150 }, 1000); 151 151 }
Note: See TracChangeset
for help on using the changeset viewer.