Commit f2e8644e by Damien Moulard

fix error unselecting attached

parent f368ab22
Pipeline #2126 passed with stage
in 1 minute 37 seconds
...@@ -79,11 +79,12 @@ ...@@ -79,11 +79,12 @@
} }
.remove_binome_icon { .remove_binome_icon {
margin-left: 5px; margin-left: 10px;
color: #e62720;
} }
.remove_binome_icon:hover { .remove_binome_icon:hover {
color: #e62720; cursor: pointer;
} }
.chosen_associate_group { .chosen_associate_group {
......
...@@ -611,8 +611,9 @@ $('#odoo_user_connect').click(); ...@@ -611,8 +611,9 @@ $('#odoo_user_connect').click();
$('#add_binome').click(function() { $('#add_binome').click(function() {
if ($('#associate_area').is(':visible')) { if ($('#associate_area').is(':visible')) {
$('#associate_area').hide(); $('#associate_area').hide();
associated_old_choice = null;
$('#new_member_input').val(''); $('#new_member_input').val('');
$('#associate_area .choice_active').removeClass("choice_active");
associated_old_choice = null;
if (current_coop !=null) { if (current_coop !=null) {
delete current_coop.parent_name; delete current_coop.parent_name;
delete current_coop.parent_id; delete current_coop.parent_id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment