Guillaume (gdi)
a17b386254
[FIX] website: allow edit mode when a wrong iframe is in the page
...
Before [this other commit], it was possible to add a wrong video on a
page of its website. If the user did this and saved the page, it was no
longer possible for him to enter edit mode. To solve this, two
improvements have been made:
1. We now prevent the user from putting a wrong video on his page when
he goes through the media dialog (see [this other commit]).
2. Since there are probably websites that have a bad video (it was
possible before [this other commit]), this commit allows users to edit
the pages that have these wrong videos.
Steps to reproduce before [this other commit]:
- Edit a page.
- Via the media dialog add a video with the following URL: 'google.com'.
- Save the page.
=> It is no longer possible to enter edit mode.
Note that part 1 was merged from 14.0 but part 2 was merged from 16.0
because the media dialog adds `iframe` without `src` attribute since
[the refactor of the media dialog] and we cannot edit a page containing
this code `<div class="media_iframe_video"><iframe/></div>` since the
merge of the frontend into the backend.
[this other commit]: https://github.com/odoo/odoo/commit/fbab1bffa033638553750d49fcde89a9a2fc5e6c
[the refactor of the media dialog]: https://github.com/odoo/odoo/commit/7fd0698cf765a79959566b51e33cb76bff83d344
opw-3167707
closes odoo/odoo#116128
X-original-commit: 242d6f2e1dc35c3d22314a4c92c2420f69eb9970
Signed-off-by: Romain Derie (rde) <rde@odoo.com >
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com >
Signed-off-by: Guillaume-gdi <gdi@odoo.com >
2023-03-22 13:42:54 +01:00
..
2023-03-22 12:37:04 +01:00
2023-03-20 16:51:30 +01:00
2023-01-27 17:29:16 +01:00
2023-03-18 03:32:40 +01:00
2023-03-18 03:32:40 +01:00
2023-03-21 08:31:06 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-22 11:06:46 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-08 11:37:07 +01:00
2023-03-20 16:51:30 +01:00
2023-03-15 13:19:45 +01:00
2023-03-15 13:19:45 +01:00
2023-03-07 11:11:51 +01:00
2023-03-14 15:52:10 +01:00
2023-03-20 16:51:30 +01:00
2023-01-24 10:20:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-14 15:52:10 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-02-01 10:25:01 +01:00
2023-03-16 14:12:37 +01:00
2023-03-20 16:51:30 +01:00
2023-03-16 14:12:37 +01:00
2023-03-20 16:51:28 +01:00
2023-03-20 16:51:30 +01:00
2023-03-14 12:23:45 +01:00
2023-03-14 12:23:45 +01:00
2023-03-14 15:52:10 +01:00
2023-03-20 16:51:30 +01:00
2023-01-24 10:20:30 +01:00
2023-03-02 19:24:45 +01:00
2023-03-08 17:33:37 +01:00
2023-03-20 16:51:30 +01:00
2023-03-14 19:39:09 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-01 23:28:07 +01:00
2023-03-20 18:13:23 +01:00
2023-03-21 09:36:15 +01:00
2023-03-21 18:55:55 +01:00
2023-03-22 08:19:00 +01:00
2023-03-20 16:51:06 +01:00
2023-03-20 16:51:30 +01:00
2023-03-21 09:36:12 +01:00
2023-02-15 10:14:53 +01:00
2023-03-22 00:53:57 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-02-01 10:25:01 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-15 13:19:45 +01:00
2023-03-20 11:20:38 +01:00
2023-01-24 10:20:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 11:20:38 +01:00
2023-03-14 09:55:52 +01:00
2023-03-14 15:52:10 +01:00
2023-02-16 09:01:07 +01:00
2023-02-17 12:07:48 +01:00
2023-03-20 16:51:30 +01:00
2023-01-17 18:12:48 +01:00
2023-03-20 16:51:30 +01:00
2023-03-22 00:54:02 +01:00
2023-03-21 08:31:06 +01:00
2023-03-07 10:06:13 +01:00
2023-03-20 11:20:46 +01:00
2023-02-17 19:30:40 +01:00
2023-03-07 10:06:13 +01:00
2023-03-15 07:27:40 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-21 08:31:11 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-15 22:06:44 +01:00
2023-03-10 11:23:51 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-01 18:43:01 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-17 22:27:30 +01:00
2023-01-18 13:25:32 +01:00
2023-03-17 23:24:11 +01:00
2023-01-27 14:03:35 +01:00
2023-01-18 13:25:32 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-14 13:30:05 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-02-17 19:30:40 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-02-17 19:30:40 +01:00
2023-03-10 11:23:51 +01:00
2023-03-02 19:24:45 +01:00
2023-01-24 16:18:18 +01:00
2023-02-01 14:37:50 +01:00
2023-02-17 19:30:40 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-02-17 19:30:40 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-08 10:31:07 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-10 13:32:41 +01:00
2023-02-27 11:47:11 +01:00
2023-02-27 11:47:11 +01:00
2023-01-23 16:01:27 +01:00
2023-02-06 09:20:56 +01:00
2023-03-07 10:06:13 +01:00
2023-03-18 03:32:40 +01:00
2023-03-15 16:08:08 +01:00
2023-03-14 12:23:45 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-17 23:24:09 +01:00
2023-03-07 10:06:13 +01:00
2023-02-01 10:25:01 +01:00
2023-02-17 19:30:40 +01:00
2023-03-07 18:02:19 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-18 02:14:39 +01:00
2023-03-21 08:31:06 +01:00
2023-03-18 02:14:39 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-02-01 14:37:50 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-13 15:27:58 +01:00
2023-02-17 19:30:40 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-07 10:06:13 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 18:13:04 +01:00
2023-03-20 16:51:30 +01:00
2023-03-22 11:06:49 +01:00
2023-03-14 15:52:10 +01:00
2023-03-20 07:58:46 +01:00
2023-03-20 16:51:30 +01:00
2023-03-21 10:44:40 +01:00
2023-03-14 15:52:10 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-14 15:52:10 +01:00
2023-03-14 15:52:10 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-14 15:52:10 +01:00
2023-03-14 15:52:10 +01:00
2023-02-04 10:45:02 +01:00
2023-03-22 09:16:40 +01:00
2023-03-20 16:51:30 +01:00
2023-03-14 15:52:10 +01:00
2023-03-01 17:01:17 +01:00
2023-03-17 19:22:13 +01:00
2023-03-03 17:05:07 +01:00
2023-03-09 10:51:43 +01:00
2023-03-09 10:51:43 +01:00
2023-03-20 16:51:30 +01:00
2023-03-17 22:27:21 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-09 10:51:29 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-02-01 10:25:01 +01:00
2023-03-16 20:37:59 +01:00
2023-03-20 16:51:30 +01:00
2023-03-07 16:56:40 +01:00
2023-03-20 16:51:30 +01:00
2023-03-09 10:51:29 +01:00
2023-02-01 10:25:01 +01:00
2023-03-16 14:12:37 +01:00
2023-03-05 15:12:54 +01:00
2023-03-21 23:49:31 +01:00
2023-03-16 14:12:29 +01:00
2023-03-16 09:37:19 +01:00
2023-03-09 15:54:58 +01:00
2023-03-20 16:51:30 +01:00
2023-03-21 19:54:34 +01:00
2023-01-23 16:01:27 +01:00
2023-03-15 13:19:45 +01:00
2023-02-07 16:38:34 +01:00
2023-03-21 18:56:15 +01:00
2023-03-20 15:31:17 +01:00
2023-03-21 18:56:15 +01:00
2023-01-25 16:37:10 +01:00
2023-01-23 16:01:27 +01:00
2023-03-15 13:19:45 +01:00
2023-01-23 16:01:27 +01:00
2023-01-19 18:49:53 +01:00
2023-03-10 11:23:51 +01:00
2023-03-09 15:54:58 +01:00
2023-02-07 16:38:34 +01:00
2023-03-14 15:52:10 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-02-01 10:25:01 +01:00
2023-03-20 16:51:30 +01:00
2023-01-24 10:20:30 +01:00
2023-03-21 19:54:20 +01:00
2023-03-05 15:12:54 +01:00
2023-03-16 14:12:37 +01:00
2023-03-05 15:12:54 +01:00
2023-03-05 15:12:54 +01:00
2023-02-03 14:23:02 +01:00
2023-03-20 16:51:30 +01:00
2023-03-03 18:10:57 +01:00
2023-02-13 15:15:34 +01:00
2023-03-15 13:19:45 +01:00
2023-03-20 16:51:30 +01:00
2023-01-13 16:27:26 +01:00
2023-01-13 16:27:26 +01:00
2023-03-13 10:53:04 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-17 15:02:46 +01:00
2023-02-24 10:06:06 +01:00
2023-03-20 18:13:04 +01:00
2023-03-08 17:33:37 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-09 12:01:01 +01:00
2023-03-20 20:14:50 +01:00
2023-02-22 20:26:07 +01:00
2023-01-13 16:27:26 +01:00
2023-02-03 11:45:19 +01:00
2023-01-16 15:43:00 +01:00
2023-03-20 19:15:22 +01:00
2023-02-13 15:15:08 +01:00
2023-03-20 16:51:30 +01:00
2023-02-03 05:09:05 +01:00
2023-03-20 16:51:30 +01:00
2023-03-17 11:47:09 +01:00
2023-03-17 11:47:09 +01:00
2023-03-03 19:10:10 +01:00
2023-03-22 11:06:46 +01:00
2023-03-07 02:00:06 +01:00
2023-03-07 02:00:06 +01:00
2023-01-24 10:20:30 +01:00
2023-01-24 10:20:30 +01:00
2023-01-24 10:20:30 +01:00
2023-03-08 21:33:03 +01:00
2023-01-24 10:20:30 +01:00
2023-01-26 19:56:04 +01:00
2023-01-24 10:20:30 +01:00
2023-01-24 10:20:30 +01:00
2023-03-10 14:38:43 +01:00
2023-01-24 10:20:30 +01:00
2023-01-24 10:20:30 +01:00
2023-01-26 19:56:04 +01:00
2023-03-21 18:56:12 +01:00
2023-03-20 18:13:14 +01:00
2023-03-16 18:32:59 +01:00
2023-03-08 17:33:37 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-02-01 10:25:01 +01:00
2023-03-20 19:15:25 +01:00
2023-01-13 16:27:38 +01:00
2023-03-20 15:31:27 +01:00
2023-03-17 11:47:09 +01:00
2023-03-17 11:47:09 +01:00
2023-02-13 22:46:41 +01:00
2023-03-14 15:52:10 +01:00
2023-02-03 10:25:00 +01:00
2023-03-16 07:29:49 +01:00
2023-03-07 11:11:42 +01:00
2023-01-27 23:17:35 +01:00
2023-03-15 13:19:45 +01:00
2023-02-24 11:11:40 +01:00
2023-03-08 17:33:37 +01:00
2023-03-20 16:51:30 +01:00
2023-03-22 11:06:46 +01:00
2023-03-22 13:42:54 +01:00
2023-03-20 14:04:24 +01:00
2023-02-21 00:47:34 +01:00
2023-03-22 13:42:54 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-01-17 20:58:34 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-02-17 09:50:50 +01:00
2023-03-15 13:19:45 +01:00
2023-03-02 19:24:45 +01:00
2023-02-17 09:50:50 +01:00
2023-03-14 15:52:10 +01:00
2023-03-14 15:52:10 +01:00
2023-01-16 19:45:57 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-16 15:19:41 +01:00
2023-03-14 15:52:10 +01:00
2023-01-24 21:10:52 +01:00
2023-03-20 16:51:30 +01:00
2023-02-08 15:39:08 +01:00
2023-02-10 14:37:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-15 13:19:45 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-02-24 18:16:11 +01:00
2023-03-16 09:37:08 +01:00
2023-03-22 09:16:43 +01:00
2023-03-15 13:19:45 +01:00
2023-03-08 17:33:37 +01:00
2023-03-21 22:25:46 +01:00
2023-03-21 22:25:45 +01:00
2023-03-14 12:23:46 +01:00
2023-03-14 12:23:45 +01:00
2023-01-27 23:17:35 +01:00
2023-03-08 17:33:37 +01:00
2023-01-27 23:17:35 +01:00
2023-01-27 23:17:35 +01:00
2023-03-15 13:19:45 +01:00
2023-03-21 10:44:47 +01:00
2023-03-14 15:52:10 +01:00
2023-03-07 09:02:58 +01:00
2023-03-20 16:51:30 +01:00