Update the SW buttons after loading a scenario.

master
Pacman Ghost 6 years ago
parent 5da637e068
commit dbc5292926
  1. 3
      vasl_templates/webapp/static/main.js
  2. 3
      vasl_templates/webapp/static/snippets.js

@ -287,9 +287,6 @@ $(document).ready( function () {
// initialize hotkeys
init_hotkeys() ;
// update the UI
on_scenario_date_change() ;
// add some dummy links for the test suite to edit templates
if ( getUrlParam( "edit_template_links" ) ) {
$("button.generate").each( function() {

@ -576,6 +576,9 @@ function do_load_scenario( params )
"Unknown vehicles/ordnance:", unknown_vo
) ) ;
}
// update the UI
on_scenario_date_change() ;
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Loading…
Cancel
Save