Index: trunk/kernel/admin_templates/incs/grid.js =================================================================== diff -u -r5005 -r5006 --- trunk/kernel/admin_templates/incs/grid.js (.../grid.js) (revision 5005) +++ trunk/kernel/admin_templates/incs/grid.js (.../grid.js) (revision 5006) @@ -90,7 +90,7 @@ document.selection.empty() //IE } - this.Grid.ClearAlternativeGridsSelection(); + this.Grid.ClearAlternativeGridsSelection('GridItem.Click'); if (e.shiftKey && !this.Grid.RadioMode) { this.Grid.SelectRangeUpTo(this.sequence); @@ -112,7 +112,7 @@ { var e = is.ie ? window.event : ev; if (this.Grid.RadioMode) this.Grid.ClearSelection(null,'GridItem.cbClick'); - this.Grid.ClearAlternativeGridsSelection(); + this.Grid.ClearAlternativeGridsSelection('GridItem.cbClick'); this.Toggle(); this.Grid.CheckDependencies(); e.cancelBubble = true; @@ -235,7 +235,7 @@ this.Items[i].Select(); } this.CheckDependencies(); - this.ClearAlternativeGridsSelection(); + this.ClearAlternativeGridsSelection('Grid.SelectAll'); } Grid.prototype.SelectRangeUpTo = function( last_sequence ) { @@ -291,14 +291,14 @@ } } } - //if (enabling) this.ClearAlternativeGridsSelection(); + //if (enabling) this.ClearAlternativeGridsSelection('Grid.CheckDependencies'); } -Grid.prototype.ClearAlternativeGridsSelection = function () +Grid.prototype.ClearAlternativeGridsSelection = function (called_from) { for (var i in this.AlternativeGrids) { - this.AlternativeGrids[i].ClearSelection(null,'Grid.ClearAlternativeGridsSelection'); + this.AlternativeGrids[i].ClearSelection(null, called_from + ' -> Grid.ClearAlternativeGridsSelection'); } }