Redmine 4.1.7
This commit is contained in:
parent
55458d3479
commit
3ca3c37487
103 changed files with 2426 additions and 431 deletions
|
@ -46,6 +46,7 @@ function contextMenuClick(event) {
|
|||
} else {
|
||||
if (event.ctrlKey || event.metaKey) {
|
||||
contextMenuToggleSelection(tr);
|
||||
contextMenuClearDocumentSelection();
|
||||
} else if (event.shiftKey) {
|
||||
lastSelected = contextMenuLastSelected();
|
||||
if (lastSelected.length) {
|
||||
|
@ -53,6 +54,7 @@ function contextMenuClick(event) {
|
|||
$('.hascontextmenu').each(function(){
|
||||
if (toggling || $(this).is(tr)) {
|
||||
contextMenuAddSelection($(this));
|
||||
contextMenuClearDocumentSelection();
|
||||
}
|
||||
if ($(this).is(tr) || $(this).is(lastSelected)) {
|
||||
toggling = !toggling;
|
||||
|
@ -191,7 +193,6 @@ function contextMenuToggleSelection(tr) {
|
|||
function contextMenuAddSelection(tr) {
|
||||
tr.addClass('context-menu-selection');
|
||||
contextMenuCheckSelectionBox(tr, true);
|
||||
contextMenuClearDocumentSelection();
|
||||
}
|
||||
|
||||
function contextMenuRemoveSelection(tr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue