Benoit Socias e6dd94aa21 [FIX] website: not fail in Firefox when leaving/entering website app
Since [1], navigating from the website application to another one
raises an error when using Firefox.

This commit avoids looking at the URL if the iframe is not available.

It seems that in Firefox the `pagehide` event is triggered after the
iframe is released.

Steps to reproduce:
- Use Firefox.
- Go to the Website app.
- Go to Discuss.

=> An error popup was displayed.

[1]: https://github.com/odoo/odoo/commit/eacfab230b8b6d676f378ad74a402849af83dcbb

task-3302981
opw-3349388
opw-3357461
opw-3357511

closes odoo/odoo#124940

X-original-commit: 57c3ab3058d4e2eee581f5c35a7a9e1b9ac83593
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2023-06-14 09:39:16 +02:00
2023-06-10 16:50:55 +02:00
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%