forked from DGNum/gestioCOF
fix selection
This commit is contained in:
parent
85af7fe485
commit
0b61a48c65
1 changed files with 3 additions and 2 deletions
|
@ -142,9 +142,10 @@ $(document).ready(function() {
|
|||
selected: function(e, ui) {
|
||||
$(ui.selected).each(function() {
|
||||
if ($(this).hasClass('opegroup')) {
|
||||
var opegroup = $(this).data('opegroup');
|
||||
var type = $(this).data('type');
|
||||
var id = $(this).data('id');
|
||||
$(this).siblings('.ope').filter(function() {
|
||||
return $(this).data('opegroup') == opegroup
|
||||
return $(this).data(type) == id
|
||||
}).addClass('ui-selected');
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue