From e2c7c973fdff4576fd75fc7fb27ec2593dfbc34e Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 28 Sep 2008 16:39:39 +0000 Subject: [PATCH] - Improved multiple selection style by blocking browser event --- src/webui/scripts/dynamicTable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/webui/scripts/dynamicTable.js b/src/webui/scripts/dynamicTable.js index ae69cc700..306973bdd 100644 --- a/src/webui/scripts/dynamicTable.js +++ b/src/webui/scripts/dynamicTable.js @@ -82,6 +82,7 @@ var dynamicTable = new Class ({ }.bind(this)); } tr.addEvent('click', function(e){ + e.stop(); if(e.control) { // CTRL key was pressed if(this.cur.contains(id)) { @@ -139,6 +140,7 @@ var dynamicTable = new Class ({ this.cur[0] = id; } } + return false; }.bind(this)); tr.injectInside(this.table);