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

Correct action button handling, restore order on reposition failure, and fix deletion alerts #181

Open
wants to merge 3 commits into
base: v3.2.1
Choose a base branch
from

Conversation

schluebbo
Copy link
Collaborator

Description:

  • Ensures action buttons update correctly after question reordering without requiring a page reload.
  • Restores the original order if repositioning fails due to conditions.
  • Hides the condition button for the last question and re-adds it when applicable.
  • Fixes confirmation alerts not displaying before deleting a question.

Added a delayed page reload (5s) after repositioning to update condition buttons.
- Ensures action buttons are correctly refreshed after repositioning.
- Refactored JavaScript for better structure.
- Improved condition button visibility handling.
…ng a question

- Replaced incorrect Thymeleaf expression.
- Fixes an issue where confirmation alerts were not shown.
@schluebbo schluebbo self-assigned this Feb 18, 2025
Copy link

Test Results:

TestsPassed ✅Skipped ⚠️Failed
JUnit Test Report1007 ran997 passed10 skipped0 failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant