]> source.dussan.org Git - sonarqube.git/commitdiff
Fix IE9 drag'n'drop
authorStas Vilchik <vilchiks@gmail.com>
Thu, 17 Jul 2014 07:27:10 +0000 (13:27 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 17 Jul 2014 07:27:10 +0000 (13:27 +0600)
sonar-server/src/main/js/dashboard.js

index 644a086ac6fc646dde462e1cd3874075d3948a77..1e2a5b39a79edb8e2f45dc9c761ade10545b1228 100644 (file)
 
       blocks
           .prop('draggable', true)
+          .on('selectstart', function() {
+            this.dragDrop();
+            return false;
+          })
           .on('dragstart', function(e) {
             e.originalEvent.dataTransfer.setData('Text', 'drag');
             draggable = $(this);