Index: trunk/core/admin_templates/js/grid.js =================================================================== diff -u -N -r7391 -r7635 --- trunk/core/admin_templates/js/grid.js (.../grid.js) (revision 7391) +++ trunk/core/admin_templates/js/grid.js (.../grid.js) (revision 7635) @@ -55,12 +55,23 @@ this.id = an_element.id; this.ItemId = item_id; this.sequence = parseInt(an_element.getAttribute('sequence')); - this.class_on = class_on; +// this.class_on = class_on; + if (class_off == ':original') { this.class_off = an_element.className; } else this.class_off = class_off; + + if (class_on.match(/(.*):(.*)/)) { + var even = RegExp.$2; + var odd = RegExp.$1; + this.class_on = this.class_off.match(/even/) ? even : odd + } + else { + this.class_on = class_on + } + this.HTMLelement = an_element; if (document.getElementById('left_'+an_element.id)) { @@ -173,12 +184,13 @@ GridItem.prototype.Click = function (ev) { - this.ClearBrowserSelection(); + //this.ClearBrowserSelection(); this.Grid.ClearAlternativeGridsSelection('GridItem.Click'); var e = !is.ie ? ev : window.event; if (e.shiftKey && !this.Grid.RadioMode) { + this.ClearBrowserSelection(); this.Grid.SelectRangeUpTo(this.sequence); } else {