Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Commit

Permalink
Device service returns status 200 with empty content as fails
Browse files Browse the repository at this point in the history
  • Loading branch information
samhsu427 committed Sep 10, 2019
1 parent 7e731c6 commit 2d976c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/static/js/pages/devices/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ var deviceModuleBtnGroup = {
type:'PUT',
contentType:'application/json',
data:JSON.stringify(paramBody),
dataType: "text",
success:function(data){
$('#device_detail #command_list tbody input[name="reading_value'+command.id+'"]').val("success");
$('#'+command.id+'').prop('disabled',false);
Expand Down

0 comments on commit 2d976c5

Please sign in to comment.