{"push_id":1405987131,"size":1,"distinct_size":1,"ref":"refs/heads/9.0-code-view-save-nle","head":"897290dd3ff218ddc12dcdc6c936a8725813cefe","before":"78d8f6a71f72b62741e275d41f98f6826d8f8cf8","commits":[{"sha":"897290dd3ff218ddc12dcdc6c936a8725813cefe","author":{"name":"Nicolas Lempereur","email":"20b6a29c46d1a38278b1511d2765b429bce35dfb@odoo.com"},"message":"[IMP] web_editor: don't lose modified code view content\n\nThe scenario when using the code view is the following :\n\n- click on code view button to use code view\n- make changes\n- click on code view button to get back to wysiwyg view\n- save from the wysiwyg view\n\nIf the 3rd step is not done:\n\n- for the inline editor, we lose the changes that have been done in code\n  view,\n- for the iframe editor, we lose the entirety of the content.\n\nAt one time the user was forced to go back to wysiwyg before being able\nto save, but this have been removed hence the present usability issue.\n\nWith this fix, when the editor content is saved, if the user is in code\nview he is automatically set back to wysiwyg view.\n\ncloses #14339\nopw-693052","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/897290dd3ff218ddc12dcdc6c936a8725813cefe"}]}
{"actor":{"display_login":"nle-odoo"}}