add latent history

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2024-10-08 09:23:16 -04:00
parent a3a177277a
commit 2e08a26d53
13 changed files with 145 additions and 65 deletions
+7
View File
@@ -328,6 +328,13 @@ function quickSaveStyle() {
}
}
function selectHistory(id) {
const headers = new Headers();
headers.set('Content-Type', 'application/json');
const init = { method: 'POST', body: { name: id }, headers };
fetch('/sdapi/v1/history', { method: 'POST', body: JSON.stringify({ name: id }), headers });
}
let enDirty = false;
function closeDetailsEN(...args) {
// log('closeDetailsEN');