Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature zms 3499 auto refresh queue #816

Merged
merged 4 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions zmsadmin/js/page/counter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,6 @@ class View extends Workstation {
}
this.setReloadTimer();
}
window.onblur = () => {
//console.log("lost Focus");
clearTimeout(this.reloadTimer);
}
this.$main.find('[data-queue-table], [data-queue-info]').on("mouseenter", () => {
//console.log("stop Reload on mouse enter");
clearTimeout(this.reloadTimer);
});
this.$main.find('[data-queue-table], [data-queue-info]').on("mouseleave", () => {
//console.log("start reload on mouse leave");
this.setReloadTimer();
});
}

loadAllPartials() {
Expand Down
12 changes: 0 additions & 12 deletions zmsadmin/js/page/workstation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,6 @@ class View extends BaseView {
}
this.setReloadTimer();
}
window.onblur = () => {
//console.log("lost Focus");
clearTimeout(this.reloadTimer);
}
this.$main.find('[data-queue-table]').on("mouseenter", () => {
//console.log("stop Reload on mouse enter");
clearTimeout(this.reloadTimer);
});
this.$main.find('[data-queue-table]').on("mouseleave", () => {
//console.log("start reload on mouse leave");
this.setReloadTimer();
});
}

setReloadTimer() {
Expand Down
Loading