From 121a892c9a32342b075d8e65d6a0b0399ad80e7e Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 17 Jun 2019 03:13:05 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/General/che_장비매매.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hwe/sammo/Command/General/che_장비매매.php b/hwe/sammo/Command/General/che_장비매매.php index a60c50f7..832051a0 100644 --- a/hwe/sammo/Command/General/che_장비매매.php +++ b/hwe/sammo/Command/General/che_장비매매.php @@ -172,8 +172,8 @@ class che_장비매매 extends Command\GeneralCommand{ $gold = $this->generalObj->getVar('gold'); $form[] = << -function updateItemType(elem){ - $('#itemType').val($(elem).data('itemType')); +function updateItemType(){ + $('#itemType').val($('#itemCode option:selected').data('itemType')); } EOT; @@ -182,12 +182,12 @@ EOT; 장비를 구입하거나 매각합니다.
현재 구입 불가능한 것은 붉은색으로 표시됩니다.
현재 도시 치안 : {$citySecu}    현재 자금 : {$gold}
-장비 : EOT; foreach(GameConst::$allItems as $itemType=>$itemCategories){ //매각 $typeName = static::$itemMap[$itemType]; - $form[] = ""; + $form[] = ""; //구입 foreach($itemCategories as $itemCode=>$cnt){