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){