커맨드 상세 입력 페이지 초기 구현

This commit is contained in:
2019-10-07 00:09:13 +09:00
parent 6e80561f32
commit 3c247e2156
11 changed files with 186 additions and 246 deletions
+8 -4
View File
@@ -105,13 +105,17 @@ function reserveTurn(turnList, command){
$('#reserveTurn').click(function(){
var turnList = $('#generalTurnSelector').val().map(function(v){return parseInt(v);});
var $command = $('#generalCommandList option:selected');
/*if($command.data('reqarg')){
alert('TODO!');
if($command.data('reqarg')){
$.redirect(
"b_processing.php", {
command: $command.val(),
turnList: turnList.join('_')
}, "GET");
}
else*/{
else{
reserveTurn(turnList, $command.val());
}
return false;
})