[PR #3167] [MERGED] Fix Javascript issue on non sqlite databases #32262

Closed
opened 2026-06-20 19:07:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/3167
Author: @BlackDex
Created: 1/24/2023
Status: Merged
Merged: 2/12/2023
Merged by: @dani-garcia

Base: mainHead: issue-3166


📝 Commits (2)

  • c9ed9aa Fix Javascript issue on non sqlite databases
  • bc49d1f Merge branch 'main' into issue-3166

📊 Changes

10 files changed (+190 additions, -108 deletions)

View changed files

📝 src/api/web.rs (+2 -2)
📝 src/static/scripts/admin.css (+14 -7)
📝 src/static/scripts/admin.js (+19 -7)
📝 src/static/scripts/admin_diagnostics.js (+15 -7)
📝 src/static/scripts/admin_organizations.js (+21 -5)
📝 src/static/scripts/admin_settings.js (+40 -25)
📝 src/static/scripts/admin_users.js (+58 -33)
📝 src/static/scripts/jquery-3.6.3.slim.js (+8 -9)
📝 src/static/templates/admin/organizations.hbs (+6 -6)
📝 src/static/templates/admin/users.hbs (+7 -7)

📄 Description

When a non sqlite database is used, loading the admin interface fails
because the backup button is not generated.
This PR is solves it by checking if the elements are valid.

Also made some other js/css changes and fixed some eslint errors.
Showing _post errors is better now.

Update jquery to latest version.

Fixes #3166


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/3167 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 1/24/2023 **Status:** ✅ Merged **Merged:** 2/12/2023 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `issue-3166` --- ### 📝 Commits (2) - [`c9ed9aa`](https://github.com/dani-garcia/vaultwarden/commit/c9ed9aa73382adcc37e0c7bf59a06f72c8774281) Fix Javascript issue on non sqlite databases - [`bc49d1f`](https://github.com/dani-garcia/vaultwarden/commit/bc49d1f90da7df9f9f01b6f49cb13fda721343d3) Merge branch 'main' into issue-3166 ### 📊 Changes **10 files changed** (+190 additions, -108 deletions) <details> <summary>View changed files</summary> 📝 `src/api/web.rs` (+2 -2) 📝 `src/static/scripts/admin.css` (+14 -7) 📝 `src/static/scripts/admin.js` (+19 -7) 📝 `src/static/scripts/admin_diagnostics.js` (+15 -7) 📝 `src/static/scripts/admin_organizations.js` (+21 -5) 📝 `src/static/scripts/admin_settings.js` (+40 -25) 📝 `src/static/scripts/admin_users.js` (+58 -33) 📝 `src/static/scripts/jquery-3.6.3.slim.js` (+8 -9) 📝 `src/static/templates/admin/organizations.hbs` (+6 -6) 📝 `src/static/templates/admin/users.hbs` (+7 -7) </details> ### 📄 Description When a non sqlite database is used, loading the admin interface fails because the backup button is not generated. This PR is solves it by checking if the elements are valid. Also made some other js/css changes and fixed some eslint errors. Showing `_post` errors is better now. Update jquery to latest version. Fixes #3166 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-20 19:07:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#32262