diff --git a/js/information-system3.min.js b/js/information-system3.min.js index 1eb41629..039515b9 100644 --- a/js/information-system3.min.js +++ b/js/information-system3.min.js @@ -300,12 +300,7 @@ function errorfun(responseText, statusText, xhr, form) { function successfun(responseText, statusText, xhr, form) { for (var key in responseText) { if (responseText[key].name == "ok") { - if ($("#rule_check_flag").val() == 1 && $("#auto_update_cache_checkbox").attr("checked")) { - $.modaldialog.success(responseText[key].value + "n" + "\u9759\u6001\u9875\u9762\u66f4\u65b0\u4e2d..."); - updateCache($("#auto_update_cache_checkbox").val(), "") - } else { - $.modaldialog.success(responseText[key].value) - } + $.modaldialog.success(responseText[key].value) } else { if (responseText[key].name == "ok_go") { $.modaldialog.success('提交成功,正在跳转到下个页面...'); @@ -518,12 +513,12 @@ function mobile_friendly(refresh){ var ic_url = $("#ic_url").val(); var sitecode = $("#is_sitecode").val(); if(refresh){ - var url = '/info.php/apps/pagespeed/index/run'; + var url = '/info.php/apps/pagespeed/index/run'; }else{ var url = '/info.php/apps/pagespeed/index/show_score'; } $.post(url, {'psd_URL':ic_url, 'psd_SiteCode':sitecode}, function(data){ - var json = eval('(' + data + ')'); + var json = eval('(' + data + ')'); if (json.result == 'ok'){ $("#mobile_friendly_status").html(json.data); } else{ @@ -535,16 +530,16 @@ if (json.result == 'ok'){ $(document).ready(function() { - + $('.ShowMeTheDatePicker_cn').datepicker({ dateFormat: 'yy-mm-dd', showButtonPanel: false }); - + $('.ShowMeTheDatePicker').datepicker({ showButtonPanel: true }); - - - -}); \ No newline at end of file + + + +});