Nicolas Lempereur
65c1926a37
[FIX] web: html_frame field and lang vs onchange
...
In mass mailing there is several possibilities of states when rendering
the widget with a possibly new value:
1. we are not in edition
a. we are in same language than user language => the editor content
can be updated
b. we are in a different language => the content cannot be updated
2. we are in edition
a. we are editing translation : the editor content cannot be updated
b. we are not editing translation (editor language == en_US)
i. we are requesting editor update (by having magic value
`on_change_model_and_list`) => the editor can be updated
ii. we are in same language than user language => the editor content
can be updated
iii. we are in a different language => the editor content cannot be
updated
In summary:
- if language is the same than the user, we can update the value
- if value is magic `on_change_model_and_list` and we are not translating,
we can update the editor
Before this commit, this worked as expected but for 2.a.ii. which if the
user language was not en_US would for example prevent editor updating.
closes #15583
closes #15414
opw-708032
inspired by a27e24c6d1
note: the fix is a fix for 9.0 and saas-11 only.
2017-02-23 16:52:45 +01:00
..
2017-02-21 17:27:44 +01:00
2017-01-22 03:25:31 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 02:55:31 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 00:30:54 +01:00
2017-02-05 00:31:18 +01:00
2017-02-19 00:30:54 +01:00
2017-01-29 00:30:57 +01:00
2017-02-05 02:54:43 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 02:55:31 +01:00
2017-02-05 02:54:43 +01:00
2017-01-22 03:25:31 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 02:54:42 +01:00
2017-02-05 00:31:18 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 02:54:42 +01:00
2017-02-12 00:31:19 +01:00
2017-02-12 00:31:19 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 02:55:31 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 00:30:57 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 00:30:57 +01:00
2017-02-19 02:54:42 +01:00
2017-02-20 11:36:11 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-05 02:54:43 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-05 02:54:43 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-01-22 03:25:31 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-23 13:45:34 +01:00
2017-02-05 02:54:43 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 00:30:57 +01:00
2017-02-19 00:30:54 +01:00
2017-01-22 03:25:31 +01:00
2017-01-22 00:39:31 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 02:55:31 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 00:30:57 +01:00
2017-02-05 00:31:18 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-22 00:39:31 +01:00
2017-01-29 02:55:31 +01:00
2017-01-22 03:25:31 +01:00
2017-01-29 00:30:57 +01:00
2017-01-22 03:25:31 +01:00
2017-01-29 00:30:57 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 00:30:57 +01:00
2017-01-30 15:27:15 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 02:55:31 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 00:30:57 +01:00
2017-02-19 02:54:42 +01:00
2017-02-05 02:54:43 +01:00
2017-02-05 02:54:43 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-02-22 09:30:30 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-02-21 12:26:02 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2016-12-25 00:30:02 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 00:30:54 +01:00
2017-01-29 02:55:31 +01:00
2017-01-01 00:30:05 +01:00
2017-02-19 02:54:42 +01:00
2017-02-05 00:31:18 +01:00
2017-01-29 00:30:57 +01:00
2017-02-05 00:31:18 +01:00
2017-02-05 00:31:18 +01:00
2017-02-05 02:54:43 +01:00
2017-02-05 00:31:18 +01:00
2017-01-29 02:55:31 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-05 00:31:18 +01:00
2017-01-29 02:55:31 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 02:55:31 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2016-12-11 02:58:13 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-17 14:54:46 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-05 02:54:43 +01:00
2017-02-19 02:54:42 +01:00
2017-02-20 09:16:06 +01:00
2017-02-19 02:54:42 +01:00
2017-02-12 00:31:19 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-02-05 02:54:43 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-20 16:29:07 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 00:30:54 +01:00
2017-02-05 00:31:18 +01:00
2017-02-23 13:33:39 +01:00
2017-01-30 16:51:29 +01:00
2017-02-05 00:31:18 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-01-23 15:58:56 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-05 02:54:43 +01:00
2017-02-05 00:31:18 +01:00
2017-02-05 00:31:18 +01:00
2017-02-12 00:31:19 +01:00
2017-02-05 02:54:43 +01:00
2017-02-19 02:54:42 +01:00
2017-02-23 13:36:19 +01:00
2017-01-29 02:55:31 +01:00
2017-02-23 16:52:45 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-05 00:31:18 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 02:55:31 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 02:55:31 +01:00
2017-02-05 00:31:18 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 00:30:57 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 02:54:42 +01:00
2017-01-29 02:55:31 +01:00
2017-02-05 00:31:18 +01:00
2017-02-05 02:54:43 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 00:30:54 +01:00
2017-02-05 00:31:18 +01:00
2017-01-29 02:55:31 +01:00
2017-02-05 02:54:43 +01:00
2017-02-19 00:30:54 +01:00
2017-02-12 00:31:19 +01:00
2017-02-19 00:30:54 +01:00
2017-01-29 00:30:57 +01:00
2017-02-19 02:54:42 +01:00
2017-02-19 00:30:54 +01:00
2017-02-22 09:32:47 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 00:30:54 +01:00
2017-02-05 02:54:43 +01:00
2017-01-17 16:11:05 +01:00
2017-02-19 00:30:54 +01:00
2017-02-19 00:30:54 +01:00