mirror of
https://github.com/simon987/sist2.git
synced 2025-04-17 17:26:48 +00:00
Display error message on /d/ error
This commit is contained in:
parent
919f45c79c
commit
487e998ea0
File diff suppressed because one or more lines are too long
@ -82,7 +82,10 @@ $.jsonPost("i").then(resp => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
function getDocumentInfo(id) {
|
function getDocumentInfo(id) {
|
||||||
return $.getJSON("d/" + id)
|
return $.getJSON("d/" + id).fail(e => {
|
||||||
|
console.log(e);
|
||||||
|
showEsError();
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleTreeClick(tree) {
|
function handleTreeClick(tree) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user