From 6626b5baabdbdd7861fc8f90a63e90be4c5b5d4c Mon Sep 17 00:00:00 2001 From: virusdefender Date: Sat, 18 Jun 2016 16:51:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E7=99=BB?= =?UTF-8?q?=E9=99=86=E9=93=BE=E6=8E=A5=E6=B2=A1=E6=9C=89=E5=B8=A6from?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C=E6=84=9F?= =?UTF-8?q?=E8=B0=A2@imcaffrey?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/src/js/app/oj/problem/problem.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/src/js/app/oj/problem/problem.js b/static/src/js/app/oj/problem/problem.js index f071768..09df0c3 100644 --- a/static/src/js/app/oj/problem/problem.js +++ b/static/src/js/app/oj/problem/problem.js @@ -126,7 +126,7 @@ require(["jquery", "codeMirror", "csrfToken", "bsAlert", "ZeroClipboard"], } }, error: function(){ - bsAlert("额 好像出错了,请刷新页面重试。如还有问题,请填写页面导航栏上的反馈。") + bsAlert("额 好像出错了,请刷新页面重试。") } }) } @@ -261,7 +261,10 @@ require(["jquery", "codeMirror", "csrfToken", "bsAlert", "ZeroClipboard"], success: function (data) { if (data.code) { $("#submit-code-button").attr("disabled", "disabled"); - $("#result").html(''); + $("#result").html(''); } else{ userId = data.data.id;