Defect #37481 ยป 0001-fix_multiple_selection.patch
| 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;
|
||
|
}
|
||
|
});
|
||