Skip to content

Commit

Permalink
Fix ctrl-click behavior. Fixes #1986.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Feb 1, 2013
1 parent f9aeb3b commit 314e2e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/organize/views/organize_frame.html.php
Expand Up @@ -190,8 +190,10 @@
getDragData: function(e) {
var target = e.getTarget(v.itemSelector, 10);
if (target) {
if (!v.isSelected(target)) {
v.onClick(e);
if (e.ctrlKey == false) {
if (!v.isSelected(target)) {
v.onClick(e);
}
}
var selected_nodes = v.getSelectedNodes();
var drag_data = {
Expand Down

0 comments on commit 314e2e6

Please sign in to comment.