Author: piotr.buda
Date: 2008-07-31 07:37:48 -0400 (Thu, 31 Jul 2008)
New Revision: 9841
Modified:
trunk/sandbox/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableHeader.js
Log:
Bad menu image position fix
Modified:
trunk/sandbox/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableHeader.js
===================================================================
---
trunk/sandbox/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableHeader.js 2008-07-31
10:13:13 UTC (rev 9840)
+++
trunk/sandbox/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableHeader.js 2008-07-31
11:37:48 UTC (rev 9841)
@@ -191,7 +191,8 @@
sepSpan.setStyle('top:'+headerRowY+'px');
sepSpan.setStyle('left:'+spanLeft+'px');
menuImage.setStyle('top:' + headerRowY + 'px');
- menuImage.setStyle('left:'+(spanLeft-menuImage.offsetWidth)+'px');
+ //menuImage.setStyle('left:'+(spanLeft-menuImage.offsetWidth)+'px');
+ menuImage.setStyle('left:'+(headerNextChild.offsetLeft-menuImage.offsetWidth -
1)+'px');
dropSpanLeft.setStyle('top:'+headerRowY+'px');
var w = headerChild.getWidth();
dropSpanLeft.setStyle('left:'+ (headerChild.offsetLeft) +'px');
@@ -210,6 +211,7 @@
OnSepClick: function(event) {
Event.stop(event);
+ this.dragColumnInfo.mouseDown = false;
},
OnSepMouseDown: function(event) {