-
- Downloads
[FIX] website_sale: fix shop list view publish buttons
Publish buttons appeared in list view item in /shop with commit 5a5dd1e1. They however never worked for some reasons: * The publish buttons were unclickable as the around style was badly implemented: the section title was over the publish button * Even if it was clickable, the publish button handler had no prevent default, thus it submitted the form it is in -> crash when no cart button or added to cart on click on publish button if there was a cart button... Note: the style should be reviewed in next versions, this commit, as a 9.0 fix, fixes the style with the minimum code and so that it does not break any theme.
Showing
- addons/website/static/src/js/website.js 3 additions, 2 deletionsaddons/website/static/src/js/website.js
- addons/website_sale/static/src/css/website_sale.css 4 additions, 2 deletionsaddons/website_sale/static/src/css/website_sale.css
- addons/website_sale/static/src/css/website_sale.sass 4 additions, 2 deletionsaddons/website_sale/static/src/css/website_sale.sass
Loading
Please register or sign in to comment