Index: trunk/kernel/admin_templates/incs/catalog.js
===================================================================
diff -u -N -r5005 -r5006
--- trunk/kernel/admin_templates/incs/catalog.js (.../catalog.js) (revision 5005)
+++ trunk/kernel/admin_templates/incs/catalog.js (.../catalog.js) (revision 5006)
@@ -124,24 +124,4 @@
$i++;
}
return false;
-}
-
-Catalog.prototype.HideTab = function($prefix) {
-
- var $tab = document.getElementById($prefix + '_tab_container');
- if ($tab) {
- $tab.style.display = 'none';
- var $index = this.queryTabRegistry('prefix', $prefix, 'index'); // index of hidden tab
- if ($index + 1 < this.TabRegistry.length) {
- // some tabs exists after hidden tab
- this.ShowTab(this.queryTabRegistry('index', $index + 1, 'prefix'));
- }
- }
-}
-
-Catalog.prototype.ShowTab = function($prefix) {
- var $tab = document.getElementById($prefix + '_tab_container');
- if ($tab) {
- $tab.style.display = 'block';
- }
}
\ No newline at end of file
Index: trunk/kernel/admin_templates/catalog.tpl
===================================================================
diff -u -N -r5005 -r5006
--- trunk/kernel/admin_templates/catalog.tpl (.../catalog.tpl) (revision 5005)
+++ trunk/kernel/admin_templates/catalog.tpl (.../catalog.tpl) (revision 5006)
@@ -170,7 +170,7 @@
- | _tab_container" nowrap="nowrap" width="200">
+
_tab" cellpadding="0" cellspacing="0" width="100%" class="catalog-tab-unselected" onclick="$Catalog.switchTab('');">
|
Index: trunk/kernel/admin_templates/incs/grid.js
===================================================================
diff -u -N -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');
}
}
| |