diff --git a/ide/static/ide/js/settings.js b/ide/static/ide/js/settings.js index e7b4aad1..0755dfe6 100644 --- a/ide/static/ide/js/settings.js +++ b/ide/static/ide/js/settings.js @@ -265,6 +265,9 @@ CloudPebble.Settings = (function() { uuid_field.trigger("change"); }); + // Resetting the form ensures that the values are correctly set when Chrome restores the page after quitting the browser + pane.find('form')[0].reset(); + live_form.init(); CloudPebble.Sidebar.SetActivePane(pane, 'settings'); diff --git a/ide/templates/ide/project/settings.html b/ide/templates/ide/project/settings.html index f9ad7b70..6dce2c62 100644 --- a/ide/templates/ide/project/settings.html +++ b/ide/templates/ide/project/settings.html @@ -7,7 +7,7 @@