From 9fa22252830b7b09eff919257d28839b60f589c8 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 25 Mar 2020 02:56:45 +0900 Subject: [PATCH] =?UTF-8?q?Array=20type=20arg=20js=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/js/processing.js | 5 ++++- hwe/sammo/Command/Nation/che_원조.php | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/hwe/js/processing.js b/hwe/js/processing.js index 55884bd0..aeeeeda4 100644 --- a/hwe/js/processing.js +++ b/hwe/js/processing.js @@ -81,7 +81,10 @@ window.submitAction = function(){ availableArgumentList[typeName].forEach(function(argName){ var $obj = $('#'+argName); if($obj.length == 0){ - return; + $obj = $('.'+argName); + if($obj.length == 0){ + return; + } } argument[argName] = handlerList[typeName]($obj); diff --git a/hwe/sammo/Command/Nation/che_원조.php b/hwe/sammo/Command/Nation/che_원조.php index 9cb51776..bea6ffc3 100644 --- a/hwe/sammo/Command/Nation/che_원조.php +++ b/hwe/sammo/Command/Nation/che_원조.php @@ -254,12 +254,12 @@ class che_원조 extends Command\NationCommand{ >【 -국고 -병량