소스 검색

Update submit.php (#2)

lvzx123 2 년 전
부모
커밋
a64de046d2
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      pages/submit.php

+ 2 - 1
pages/submit.php

@@ -155,6 +155,7 @@ if ($templateMode) {
                 toTA: toTA,
                 vCode: vCode
             }, function(rdata) {
+                if (rdata.id === undefined) return;
                 $("#qq").val("");
                 $("#name").val("");
                 $("#taName").val("");
@@ -177,4 +178,4 @@ if ($templateMode) {
         }
     </script>
 </div>
-<br /><br />
+<br /><br />