diff --git a/vasl_templates/webapp/static/scenarios.js b/vasl_templates/webapp/static/scenarios.js index 95d406b..fe31465 100644 --- a/vasl_templates/webapp/static/scenarios.js +++ b/vasl_templates/webapp/static/scenarios.js @@ -733,6 +733,10 @@ function doImportScenario( scenario ) scenario.roar ? scenario.roar.scenario_id : null ) ; + // update the UI + on_scenario_date_change() ; + on_scenario_theater_change() ; + // all done - we can now close the dialog $gDialog.dialog( "close" ) ; } @@ -909,6 +913,7 @@ function doImportField_player( importField, newVal, scenario ) { var playerNo = importField.paramName.substring( importField.paramName.length-1 ) ; on_player_change( playerNo ) ; $elem.val( newVal ).trigger( "change" ) ; + on_player_change( playerNo ) ; // nb: to update the UI for the new player } }