DIM icon indicating copy to clipboard operation
DIM copied to clipboard

Don't refresh the page when there are unsaved changes!

Open Revadike opened this issue 1 year ago • 0 comments

DIM Version

Version 8.42.0.3621 (beta), built on 15/10/2024, 23:51:21

Browser Details

Firefox 131.0.2 (64-bit)

OS Details

Windows 11

Describe the bug

I was making a build and I accidentally clicked on another tab that had DIM open, and it refreshed both tabs, discarding my whole build... I'd like to request 2 changes, one that also helps with my other issue:

  1. Allow in-between saving, without closing the whole build popup. Same thing for save as new.
  2. Add a before leave event handler to prevent refreshes when you have unsaved changes.

Logs

No response

Revadike avatar Oct 19 '24 14:10 Revadike