Skip to content

Conversation

@Spacerat
Copy link
Contributor

(Fixes #271)

When restoring pages after closing the browser, chrome sets form element values to their previous values. However, because of the way that CloudPebble pages work (HTML template cloning), the original form elements never appear to chrome to have actually changed. Thus, when reloading the page, chrome resets the values of things to whatever they were before they were changed.

The easy fix for Chrome is to add form.reset(), which sets all values back to their defaults.

@Spacerat Spacerat force-pushed the bugfix/forgetting-settings branch from 3ee6c82 to a164ba3 Compare January 26, 2016 23:14
@Spacerat Spacerat force-pushed the bugfix/forgetting-settings branch from a164ba3 to 50ae402 Compare January 26, 2016 23:14
@Spacerat Spacerat added the bug label Jul 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cloudpebble forgets project settings

2 participants