summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/iframe.js
AgeCommit message (Collapse)Author
2016-09-30[FIX] mass_mailing, web_editor: set up correct iframe communicationqsm-odoo
Previous commit tried to handle iframe assets in a more standard way but instead broke the order followed to install iframe communication. While waiting for a more clean way to handle iframe assets and communication, revert to old set up.
2016-07-04[REF] web_editor: code refactoring and simplificationqsm-odoo
* Remove dead code + optimization * Use Dialog API from web module * Reorganize files * Correct buggy $() function for snippet option class * Add comments * Fix the snippet parent navigation : If a page contained a three level snippet structure (i.e A contains B contains C), when editing the following bug occured : If B or C was selected first, parenting buttons were correctly set. But if selecting A then C, clicking on the parent lead to going back on A instead of going on B. * Fix snippet thumbnail layout * Better isolate ui css from themes * MediaDialog image list : prevent displaying empty attachments * ...
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