diff --git a/templates/web/common/drop_down_options.html b/templates/web/common/drop_down_options.html index 3069c422bb..d07ca3b41a 100644 --- a/templates/web/common/drop_down_options.html +++ b/templates/web/common/drop_down_options.html @@ -10,7 +10,7 @@ {% if user.ACL.has_right_on_base(record.get_base_id, 'canputinalbum') and not record.is_grouping() %}
diff --git a/templates/web/prod/preview/tools.html b/templates/web/prod/preview/tools.html index 2f5fda19f3..e9888ad449 100644 --- a/templates/web/prod/preview/tools.html +++ b/templates/web/prod/preview/tools.html @@ -2,7 +2,7 @@ {% if (record.is_from_basket is empty) and user.ACL().has_right_on_base(record.get_base_id(), 'canputinalbum') %} + onclick="evt_add_in_chutier('{{record.get_base_id()}}','{{record.get_record_id()}}',false);return(false);"> {% endif %}