Jelajahi Sumber

HUE-250. Prevent Side-by-side select from allowing you to double click the table header.

Aaron Newton 15 tahun lalu
induk
melakukan
61483b3638
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      desktop/core/static/js/Source/UI/ART.SideBySideSelect.js

+ 2 - 2
desktop/core/static/js/Source/UI/ART.SideBySideSelect.js

@@ -96,8 +96,8 @@ ART.SideBySideSelect = new Class({
 		this.makeRows();
 
 		//click a row, select it; double click, move it
-		this.element.addEvent('click:relay(tr)', this.clickRow.bind(this));
-		this.element.addEvent('dblclick:relay(tr)', function(e, tr){
+		this.element.addEvent('click:relay(tbody tr)', this.clickRow.bind(this));
+		this.element.addEvent('dblclick:relay(tbody tr)', function(e, tr){
 			e.stop();
 			this.moveRow(tr);
 		}.bind(this));