Skip to content
Snippets Groups Projects
  1. Feb 26, 2021
  2. Feb 23, 2021
    • Nicolas Lempereur's avatar
      [FIX] web_editor: bgOptimize+parallax=bg no kaput · 907c66cb
      Nicolas Lempereur authored
      
      Scenario:
      
      - set new background image
      - set parallax
      - save
      
      => on next edition, the editor doesn't work on background anymore
      
      Why:
      
      - backgroundOptimize copy attributes of the original image to the real
        target element on save
      - parallax change the real target element to a new child
      
      => so if the original element was an editor (with data-oe-model, ...)
         attributes, with the combination of the two options we will save
         these editing attribute on the child element which is wrong (the
         editing attributes are added dynamically and should not be saved).
      
      With this changeset, we don't copy the editing attributes in
      backgroundOptimize when we copy the original target image.
      
      opw-2427560
      opw-2429340
      
      closes odoo/odoo#66691
      
      X-original-commit: 6e47db5e
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      907c66cb
  3. Feb 26, 2021
  4. Feb 25, 2021
  5. Feb 24, 2021
  6. Feb 25, 2021
Loading