Added a debug switch disable checking for a dirty scenario.

master
Pacman Ghost 6 years ago
parent 1597a71df1
commit e9bea3a165
  1. 4
      vasl_templates/webapp/static/snippets.js

@ -710,6 +710,10 @@ function reset_scenario()
function is_scenario_dirty()
{
// nb: confirming operations is insanely annoying during development :-/
if ( getUrlParam( "disable-dirty-scenario-check" ) )
return false ;
// check if the scenario has been changed since it was loaded, or last saved
if ( gLastSavedScenario === null )
return false ;

Loading…
Cancel
Save