bff6ff96f61c7b27e378f907c3aea53f79cc4687
larrym
  Mon Aug 15 12:20:53 2011 -0700
disable buttons while we are finishing the update; don't allow control-select as it was screwing up right-click on the mac
diff --git src/hg/js/jquery.imgareaselect.js src/hg/js/jquery.imgareaselect.js
index 753acf5..989ecec 100644
--- src/hg/js/jquery.imgareaselect.js
+++ src/hg/js/jquery.imgareaselect.js
@@ -315,31 +315,31 @@
 
         if(options.clickClipHeight != null) {
             // This is necessary on IE to support clicks in an image which has map items.
             var found = false;
             if(typeof(options.clickClipHeight) == 'number') {
                 if(selection.y1 < options.clickClipHeight) {
                     found = true;
                 }
             } else {
                 for(var i = 0; !found && i < options.clickClipHeight.length; i++) {
                     if(selection.y1 >= options.clickClipHeight[i].top && selection.y1 < options.clickClipHeight[i].bottom) {
                         found = true;
                     }
                 }
             }
-            found = found || event.shiftKey || event.ctrlKey;
+            found = found || event.shiftKey;
             if(!found) {
                 return false;
             }
         }
 
         resize = [ ];
 
         update();
         $a.add($o).show();
 
         jQuery(document).unbind('mouseup', cancelSelection)
             .mousemove(selectingMouseMove);
         $border2.unbind('mousemove', areaMouseMove);
 
         options.onSelectStart(img, selection);