Skip to content

webui: show why a delete failed - #11

Draft
ash-iir wants to merge 1 commit into
mainfrom
fix-ui-delete-errors
Draft

ash-iir wants to merge 1 commit into
mainfrom
fix-ui-delete-errors

Conversation

@ash-iir

@ash-iir ash-iir commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Deleting a remote, a destination or a scheduled job ignored the helper's result, so a refused delete looked like nothing happened. The common case is a local destination that still holds backups (ERR_DEST_HAS_BACKUPS).

All three now show errMsg(r) in a dialog when ok is false, then refresh the list as before. Adds msg_err_dest_has_backups to en.json / en.js (other languages fall back to English).

Testing

  • node --check on scripts.js; en.json parses; en.js evaluates.
  • Not tested on a rooted device.

remote-del, dest-del and schedule-delete ignored the helper result, so a
refused delete (e.g. ERR_DEST_HAS_BACKUPS) looked like nothing happened.
Show errMsg(r) like the other actions, and add msg_err_dest_has_backups.

Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
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