Browse Source

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

Aaron Newton 15 years ago
parent
commit
61483b3638
1 changed files with 2 additions and 2 deletions
  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));