- Timestamp:
- 2014/05/14 18:41:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/Smarty/templates/sphone/frontparts/bloc/news.tpl
r23230 r23419 47 47 48 48 function getNews(limit) { 49 $.mobile.showPageLoadingMsg();49 eccube.showLoading(); 50 50 var i = limit; 51 51 … … 58 58 error: function(XMLHttpRequest, textStatus, errorThrown){ 59 59 alert(textStatus); 60 $.mobile.hidePageLoadingMsg();60 eccube.hideLoading(); 61 61 }, 62 62 success: function(result){ … … 93 93 newsPageNo++; 94 94 } 95 $.mobile.hidePageLoadingMsg();95 eccube.hideLoading(); 96 96 } 97 97 }); … … 102 102 if (loadingState == 0) { 103 103 loadingState = 1; 104 $.mobile.showPageLoadingMsg();104 eccube.showLoading(); 105 105 $.ajax({ 106 106 url: "<!--{$smarty.const.ROOT_URLPATH}-->frontparts/bloc/news.php", … … 112 112 error: function(XMLHttpRequest, textStatus, errorThrown){ 113 113 alert(textStatus); 114 $.mobile.hidePageLoadingMsg();114 eccube.hideLoading(); 115 115 loadingState = 0; 116 116 }, … … 118 118 if (result.error) { 119 119 alert(result.error); 120 $.mobile.hidePageLoadingMsg();120 eccube.hideLoading(); 121 121 loadingState = 0; 122 122 } … … 145 145 //ダイアログが開き終わるまで待機 146 146 setTimeout( function() { 147 $.mobile.hidePageLoadingMsg();147 eccube.hideLoading(); 148 148 loadingState = 0; 149 149 }, 1000); 150 150 } 151 151 else { 152 $.mobile.hidePageLoadingMsg();152 eccube.hideLoading(); 153 153 loadingState = 0; 154 154 alert('取得できませんでした。');
Note: See TracChangeset
for help on using the changeset viewer.
