Project

General

Profile

Defect #37481 ยป 0001-fix_multiple_selection.patch

Takashi Kato, 2022-07-21 15:15

View differences:

public/javascripts/context_menu.js
if (lastSelected.length) {
var toggling = false;
$('.hascontextmenu').each(function(){
if (toggling || $(this).is(tr)) {
$elm = $(this)
if (!$elm.is(lastSelected) && (toggling || $elm.is(tr))) {
contextMenuAddSelection($(this));
contextMenuClearDocumentSelection();
}
if ($(this).is(tr) || $(this).is(lastSelected)) {
if ($elm.is(lastSelected) !== $elm.is(tr)) {
toggling = !toggling;
}
});
    (1-1/1)