diff options
| author | jem-odoo <jem@openerp.com> | 2019-02-18 10:29:28 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-02-26 16:13:19 +0000 |
| commit | af25a3460630cae447677b599c616de9b1890853 (patch) | |
| tree | a7fe5ac274db19f035e9ed05bb5668dc86df5451 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 8993e9cfd2e2c4e527078274b82a442d7ffe9071 (diff) | |
[FIX] website_slides: improve upload modal
Various fixes :
* better label on upload modal;
* upload always visible slide. When uploading a slide with the is_preview
checkbox checked, it does not work as in the controller we are looking
after a string when receiving a python boolean;
* switch modal buttons in slide upload modal to have a correct order;
* prevent auto scroll up. When clicking on the plus icon in drag'n'droppable
list view of a course homepage, if the user has scroll down the page he
will be automatically scroll up. This is very annoying and make some of
my colleagues grumpy;
* hide slide upload if not channel.can_upload. This commit hides the "+"
icon next to the channel categories if the user doesn't have the rights to
upload slides;
Commit linked to task ID 1942852 and PR #31394.
Co-Authored-By: David Beguin <dbe@odoo.com>
Co-Authored-By: Jerome Maes <jem@odoo.com>
Co-Authored-By: Aurélien Warnon <awa@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
