Browse Source

- Improved multiple selection style by blocking browser event

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
e2c7c973fd
  1. 2
      src/webui/scripts/dynamicTable.js

2
src/webui/scripts/dynamicTable.js

@ -82,6 +82,7 @@ var dynamicTable = new Class ({
}.bind(this)); }.bind(this));
} }
tr.addEvent('click', function(e){ tr.addEvent('click', function(e){
e.stop();
if(e.control) { if(e.control) {
// CTRL key was pressed // CTRL key was pressed
if(this.cur.contains(id)) { if(this.cur.contains(id)) {
@ -139,6 +140,7 @@ var dynamicTable = new Class ({
this.cur[0] = id; this.cur[0] = id;
} }
} }
return false;
}.bind(this)); }.bind(this));
tr.injectInside(this.table); tr.injectInside(this.table);

Loading…
Cancel
Save