[#7694] don't reset the records list pagination on record update

This commit is contained in:
Gani Georgiev
2026-05-18 19:22:51 +03:00
parent b9b0e5ae80
commit d0b2551e78
9 changed files with 73 additions and 17 deletions
+3 -3
View File
@@ -51,16 +51,16 @@ window.app.components.refreshButton = function(propsArg = {}) {
props.onclick(e);
}
btn.classList.add("rotate");
btn.dataset.rotate = true;
btn.addEventListener("animationend", () => {
btn.classList.remove("rotate");
btn.dataset.rotate = false;
});
// fallback
clearTimeout(refreshTimeoutId);
refreshTimeoutId = setTimeout(() => {
clearTimeout(refreshTimeoutId);
btn.classList.remove("rotate");
btn.dataset.rotate = false;
}, 500);
},
},