Skip to content

Commit

Permalink
allow shift as ctrl click too
Browse files Browse the repository at this point in the history
this worksaround osx clients where ctrl click is a rightclick
  • Loading branch information
sni committed Mar 2, 2015
1 parent 7e1ef01 commit 10785dd
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -469,13 +469,13 @@

el.on("click", function(e) {
[% UNLESS readonly %]
if(e.ctrlKey) {
if(e.ctrlKey || is_shift_pressed(e)) {
var tab = Ext.getCmp(This.panel_id);
if(This.locked) { return; }
if(TP.moveIcons == undefined) {
TP.moveIcons = [];
}
if(This.el.dom.style.outline) {
if(This.el.dom.style.outline.match("orange")) {
/* already selected -> unselect */
This.el.dom.style.outline = "";
TP.moveIcons = TP.removeFromList(TP.moveIcons, This);
Expand Down

0 comments on commit 10785dd

Please sign in to comment.