[mythtv-commits] [MythTV/mythtv] 345695: webapp: Warnings if user leaves the page without s...

Peter Bennett noreply at github.com
Thu Jun 2 23:49:27 UTC 2022

  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 3456950b6f0a13e1b6f6aef7d9adadb3ac090ae5
  Author: Peter Bennett <pbennett at mythtv.org>
  Date:   2022-06-02 (Thu, 02 Jun 2022)

  Changed paths:
    M mythtv/html/assets/i18n/en_US.json
    M mythtv/html/backend/src/app/app-routing.module.ts
    A mythtv/html/backend/src/app/can-deactivate-guard.service.spec.ts
    A mythtv/html/backend/src/app/can-deactivate-guard.service.ts
    M mythtv/html/backend/src/app/config/settings/settings.component.ts

  Log Message:
  webapp: Warnings if user leaves the page without saving.

Two things implemented if the user has unsaved changes (dirty
- CanDeactivate Guard in case user goes to another setup page.
- HostListener in case the user reloads or goes to another website.

More information about the mythtv-commits mailing list