Commit d3a0c548 authored by Giannis Tsapelas's avatar Giannis Tsapelas
Browse files

show message when keycloak session expired at ajax

parent 19904404
Pipeline #3051 passed with stages
in 1 minute and 45 seconds
...@@ -665,6 +665,16 @@ $(function () { ...@@ -665,6 +665,16 @@ $(function () {
} }
}); });
} }
},
error: function (response) {
console.log(response['error_message']);
// $("#cancel-query-btn").hide();
$('#run-query-btn').attr('disabled', false);
hide_gif();
$('#chartdiv').hide();
$('#paginationDiv').hide();
$('.no-data-message').show();
alert('Query failed. Login session expired. Please refresh the page and login again.');
} }
}); });
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment