summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/iframe.js
AgeCommit message (Collapse)Author
2016-06-23Revert "[FIX] web_editor: test jinja content to load editor in codeview"Christophe Matthieu
This reverts commit f38f8930f0436a40f675fa1d054a9d46f550d440. Revert for internal choice. Odoo want to use qweb in template and remove jinja support on next version. If users want to use jinja they can change the view to use text widget instead of html widget.
2016-06-22[FIX] web_editor: test jinja content to load editor in codeviewChristophe Matthieu
The preview change the content because the browser try to fix the dom. If a user use jinja and activate the preview, the jinja code is (re)moved by the browser and broke the template.
2015-12-08[FIX] web_editor: add code view in debug mode to allow jinja insertionChristophe Matthieu
2015-08-21[FIX] web_editor: can't save backend translation with field htmlChristophe Matthieu
2015-07-22[IMP] web: web modules return readable logs and phantomjs logsChristophe Matthieu
boot.js log: * ``Missing dependencies``: These modules do not appear in the page. It is possible that the JavaScript file is not in the page or that the module name is wrong * ``Failed modules``: A javascript error is detected * ``Rejected modules``: The module returns a rejected deferred. It (and its dependent modules) is not loaded. * ``Rejected linked modules``: Modules who depend on a rejected module * ``Non loaded modules``: Modules who depend on a missing or a failed module
2015-07-22[IMP] web: module can be asynchronous loaded if it return a deferredChristophe Matthieu
Each module can return a deferred. In that case, the module is marked as loaded only when the deferred is resolved, and its value is equal to the resolved value. The module can be rejected (unloaded). This will be logged in the console as info. Remove if_dom_contains from the website, the modules return a rejected deferred if the DOM doesn't contains the seleted values.
2015-07-10[IMP] web_editor: split website into web_editor (to use editor in backend ↵Christophe Matthieu
for html field) and website