Browse Source

[phr] ajax 에러 발생시 처리 코드 오류 수정.

sjpark 4 years ago
parent
commit
766239a33a
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/main/webapp/WEB-INF/jsp/clinic/info.jsp

+ 5 - 5
src/main/webapp/WEB-INF/jsp/clinic/info.jsp

@@ -122,7 +122,7 @@ function retrievePhrData() {
 
 			$("#phrDataTable").html(html);
         },
-        error : function(){
+        error : function(error){
         	alert(error.message);
         }
     }).done( function(){
@@ -270,7 +270,7 @@ function createSymptomData(symptomObject) {
 
             retrieveSymptomData();
         },
-        error : function(){
+        error : function(error){
         	alert(error.message);
         }
     }).done( function(){
@@ -320,7 +320,7 @@ function retrieveSymptomData() {
 
 			$("#symptomDataTable > tbody").html(html);
         },
-        error : function(){
+        error : function(error){
         	alert(error.message);
         }
     }).done( function(){
@@ -359,7 +359,7 @@ function createMemoData(memoContent) {
 
             retrieveMemoData();
         },
-        error : function(){
+        error : function(error){
         	alert(error.message);
         }
     }).done( function(){
@@ -390,7 +390,7 @@ function retrieveMemoData() {
 
 			$("#memoDataTable > tbody").html(html);
         },
-        error : function(){
+        error : function(error){
         	alert(error.message);
         }
     }).done( function(){