summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.theme.js
AgeCommit message (Collapse)Author
2017-08-16[MOV] web_editor, website: reorganize filesqsm-odoo
2016-07-13[FIX] web,website,point_of_sale: session.debug valueqsm-odoo
Now that the debug URL parameter can be equal to "assets", the session debug variable has to be updated to not only be true or false. Now, its value is false if the debug parameter is not specified in the url and a the URL parameter string value otherwise (or 1 if the value is an empty string). Also modify all redirection which kept the debug mode to also keep =assets. Use the $.param.querystring function.
2016-02-24[REF] web_editor,website,mass_mailing: JS/XML updateqsm-odoo
* Adapt DOM selectors * Refactore dialog XMLs to have odoo styling * New editor options (background-position, ...) * Various improvements
2015-11-19[FIX] website: theme customization modal crashqsm-odoo
When clicking on customize theme button or going on an url which contains the theme=true option, the theme customization modal failed to be launched as we did not wait for website to be ready.
2015-10-27[IMP] website: theme customization assets recomputingqsm-odoo
Assets are now split in multiple files and there is not a route which always leads to the last version of an asset. This commit adapts theme customization (without reloading) to these new features.
2015-10-27[FIX] website, web_editor: missing returns in theme JSqsm-odoo
2015-09-23[MERGE] forward port of branch saas-6 up to a669433Christophe Simonis
2015-09-14[FIX] website: website.theme.js make it re-usable and more flexibleJeremy Kersten
Each theme was duplicating this file. Now we need to improve this file to be re-usable by others themes. This fix is only to catch input, in case of the selector is an image.
2015-08-28[MERGE] forward port of branch saas-6 up to 7a768a4Christophe Simonis
Due to `sale` rewrite (94716a3f14d929574c46ef165e4364d12a5903ed), the commit 503820acb6d82a85c0c49ac26f7e7f8cd73851dd has been partially ignored (in sale.order.line) and will be rewritten later using new-api.
2015-08-26[IMP] website.theme: add event into the on_select arguments to allow the ↵Christophe Matthieu
prevent default
2015-08-24[MERGE] forward port of branch saas-6 up to e16d495Christophe Simonis
2015-08-21[IMP] website: add on_select on Theme objectChristophe Matthieu
Called by click or changes with enable or disable. Called only one time by selection. Receive all changed inputs. For e.g.: allow to the designer to use this method to open modal or other option.
2015-07-10[IMP] web_editor: adapt css, js and xml to use web_editorChristophe Matthieu
2015-07-10[IMP] web_editor: split website into web_editor (to use editor in backend ↵Christophe Matthieu
for html field) and website
2015-03-18[IMP] web+addons: improvement to module systemGéry Debongnie
The module system needs to know the dependencies of a given module before executing the function. This is why the dependencies were defined once in an array, and then were described one more times in the call to require. But a trick can simplify this: the boot function can parse the string representation of the module and extract the calls to require from it. It is more work for the processor, but it leads to simpler module definitions.
2015-03-18[REF] website: update to the new module systemGéry Debongnie
2015-02-12[IMP] website: designer can push space after comma on input of the modal to ↵Christophe Matthieu
customize theme
2015-01-16[FIX] website theme: data attributes of option in theme modal does not ↵Christophe Matthieu
enable or disable linked options. missing attr to prop modification for new version of jquery.
2014-12-15[IMP] website.theme: close the modal when the user click outside or press escapeChristophe Matthieu
2014-09-10[FIX] website.theme: input are always checked for data with empty xmlidChristophe Matthieu
2014-08-21[IMP] website snippet new option, galleryChristophe Matthieu
website.snippet: The methods described in javascript will be called automatically from the data-method_name = value on li snippets options. The methods are called in the order relative to children of xml (eg: <li data-method1=value1> ... <li data-method2=value2> ... </ li>, the method1 is then called method2). Methods receive two arguments: type (over, click, reset) and value. data-snippet-id-option becomes data-snippet-id. Several xml options can use the same data-snippet-id. add a new gallery snippet convert website_sale to the new option system
2014-08-20[FIX] website.theme: when the user does not raise an exception. Display ↵Christophe Matthieu
error message when the user install or customize a theme.
2014-08-08[IMP] website: create customize theme application and color-picker; Create ↵Christophe Matthieu
theme_bootswatch and use less files.