We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c771255 commit da31c84Copy full SHA for da31c84
1 file changed
debug-db/src/main/assets/debugDbHome/js/app.js
@@ -213,12 +213,14 @@ function updateTableData(updatedData, callback) {
213
type: 'GET',
214
data: requestParameters,
215
success: function(response) {
216
- console.log("Data updated successfully");
217
- callback(true);
218
- },
219
- error: function(xhr, status, error) {
220
- console.log("Data updated failed");
221
- callback(false);
+ response = JSON.parse(response);
+ if(response.isSuccessful){
+ console.log("Data updated successfully");
+ callback(true);
+ } else {
+ console.log("Data updated failed");
222
+ callback(false);
223
+ }
224
}
225
})
226
0 commit comments