From 239b6bc0b5a2a644486737f2b0b71e7e6c0a2edf Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 21 Aug 2014 18:00:23 +0200 Subject: [IMP] website snippet new option, gallery 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:
  • ...
  • ... , 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 --- addons/website/static/src/xml/website.gallery.xml | 102 ++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 addons/website/static/src/xml/website.gallery.xml (limited to 'addons/website/static/src/xml/website.gallery.xml') diff --git a/addons/website/static/src/xml/website.gallery.xml b/addons/website/static/src/xml/website.gallery.xml new file mode 100644 index 00000000000..cefe50a5319 --- /dev/null +++ b/addons/website/static/src/xml/website.gallery.xml @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3