sql_browser: backup editor content in a textarea
Browsers (at least chrome) saves the textarea content and restore it when going back or resurecting a closed tab, which prevents loosing unsaved work. This browser feature does not work in "rich" javascript editors, but this trick of syncronizing the rich editor content to a hidden textarea seem to makes it work.
Showing
-
Owner
I'm not sure we can write zelenium test for this, maybe using javascript
window.history.back()
and wait for a delay - I don't remember if I tried, this is another "proof of concept" commit
Please register or sign in to comment