From c2f0cbb10a8306c54d0465aea02adc6b661e7dce Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 16 Jan 2019 02:18:42 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=EC=9D=B4=EB=8F=99=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/js/main.js | 22 ---------------------- hwe/templates/commandButton.php | 2 +- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/hwe/js/main.js b/hwe/js/main.js index ed502349..963cec2a 100644 --- a/hwe/js/main.js +++ b/hwe/js/main.js @@ -27,7 +27,6 @@ function refreshing(obj, arg1, arg2) { // if(term <= 0) { switch(arg1) { case 0: location.reload(); break; - case 1: go(arg2); break; case 2: turn(arg2); break; case 3: arg2.submit(); break; case 4: @@ -44,27 +43,6 @@ function moveProcessing(commandtype, turn){ $.redirect("processing.php",{ commandtype: commandtype, turn: turn}, 'post'); } -function go(type) { - if(type == 1) location.replace('b_nationboard.php'); - else if(type == 2) location.replace('b_troop.php'); - else if(type == 3) location.replace('b_nationrule.php'); - else if(type == 4) location.replace('b_chiefboard.php'); - else if(type == 5) location.replace('b_chiefcenter.php'); - else if(type == 6) window.open('b_genList.php'); - else if(type == 7) location.replace('b_myKingdomInfo.php'); - else if(type == 8) location.replace('b_myCityInfo.php'); - else if(type == 9) location.replace('b_myGenInfo.php'); - else if(type == 10) location.replace('b_myBossInfo.php'); - else if(type == 11) location.replace('b_currentCity.php'); - else if(type == 12) location.replace('b_myPage.php'); - else if(type == 13) location.replace('b_dipcenter.php'); - else if(type == 14) location.replace('b_diplomacy.php'); - else if(type == 15) window.open('b_tournament.php'); - else if(type == 16) window.open('b_betting.php'); - else if(type == 17) window.open('b_auction.php'); - else if(type == 18) window.open('b_battleCenter.php'); -} - function turn(type) { num = form2.sel.value; commandlist.location.replace('turn.php?type=' + type + '&sel=' + num); diff --git a/hwe/templates/commandButton.php b/hwe/templates/commandButton.php index acfcabac..c90ee82a 100644 --- a/hwe/templates/commandButton.php +++ b/hwe/templates/commandButton.php @@ -3,7 +3,7 @@ - +