sms5 icode를 미선택시 사용하는 경우 오류처리및 common.php에 faq 스킨 경로 추가 #35

This commit is contained in:
thisgun
2014-08-08 11:16:56 +09:00
parent e72c78cd7f
commit a1e11d9521
5 changed files with 20 additions and 12 deletions

View File

@ -45,8 +45,13 @@ include_once(G5_ADMIN_PATH.'/admin.head.php');
dataType:"json",
data:params,
success: function(data) {
$("#datetime").html( data.datetime );
$("#res_msg").html( data.res_msg );
if(data.error){
alert( data.error );
$("#res_msg").html("");
} else {
$("#datetime").html( data.datetime );
$("#res_msg").html( data.res_msg );
}
},
error: function (xhr, ajaxOptions, thrownError) {
alert(xhr.status);