|
@@ -70,7 +70,10 @@ function saveDisplayItem() {
|
|
|
method : "PATCH",
|
|
|
dataType : "json",
|
|
|
success : function( datas ){
|
|
|
- console.log("datas");
|
|
|
+ if (datas.code !== "00")
|
|
|
+ {
|
|
|
+ alert("ERROR!\n" + datas.message);
|
|
|
+ }
|
|
|
},
|
|
|
error : ajaxErrorHandler
|
|
|
})
|
|
@@ -113,8 +116,10 @@ function saveAlarmValue() {
|
|
|
method : "PATCH",
|
|
|
dataType : "json",
|
|
|
success : function( datas ){
|
|
|
-
|
|
|
-
|
|
|
+ if (datas.code !== "00")
|
|
|
+ {
|
|
|
+ alert("ERROR!\n" + datas.message);
|
|
|
+ }
|
|
|
},
|
|
|
error : ajaxErrorHandler
|
|
|
})
|