From 433608aca3d03cf1b3e91f2e74df58d82e35d532 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Mon, 26 Feb 2018 11:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4JS=E4=B8=AD=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BC=93=E5=AD=98=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/information-system3.min.js | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) 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 + + + +});