diff --git a/bcforms/web/app.js b/bcforms/web/app.js index 39e3750..8f38050 100644 --- a/bcforms/web/app.js +++ b/bcforms/web/app.js @@ -59,6 +59,14 @@ $(document).on('click', '.remove_subunit', function(){ var button_id = $(this).attr("id") $('#panel'+button_id+'').remove() $('#tab'+button_id+'').remove() + + // open first tab + for (var i=0; i