mirror of
https://github.com/debloper/xiosk.git
synced 2026-04-27 05:45:54 +03:00
[PR #143] [MERGED] fix the success message alert message bug #128
Labels
No labels
bug
bug
documentation
enhancement
enhancement
feature request
good first issue
good first issue
help wanted
invalid
priority: high
priority: low
priority: medium
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/xiosk#128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/debloper/xiosk/pull/143
Author: @parthsidpara
Created: 12/9/2025
Status: ✅ Merged
Merged: 12/9/2025
Merged by: @debloper
Base:
main← Head:fix/alert-message-bug📝 Commits (1)
12bdfc3fix the success message alert message bug📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
dashboard/script.js(+1 -1)📄 Description
Bug:
success alert message is not getting removed from the dashboard after applying changes.
Cause:
In
showStatusfunction, we check if the request was successful (status 200). If it is, we remove thealert-dangerclass and addalert-success.However, the cleanup timer specifically looks for
.alert-dangerto remove it. Because the successful "Apply" message is now an.alert-success, the timer ignores it, and the message stays on screen.Fix:
By using
tmpErr.remove(), we remove that specific alert instance regardless of whether it is an error(red) or a success(green) message.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.