Don't prompt to discard changes if no changes

mikeg78601612

08-11-2019

Please ensure the unsaved changes box shows up only when a change has been made in a rule.

To reproduce, go into a condition that has a text field, such as Path Without Query String. Or go into an action with custom code. Open the editor and click into the text box. Do not make a change.

Then cancel all of the boxes to try to go back to the main Launch dashboard. You will see a message that says "Your unsaved changes will be lost. Are you sure you would like to leave this page?" even though no changes have been made.

This is very confusing because I can't tell when I've actually made a change that needs to be saved or when I can would actually want to discard something.

Comment