Alerts List Scrolls Unexpectedly in Browser
Comments
-
Editing the file
web\ie\scripts\alerts.js
so that the function paintSelectedRow reads:
function paintSelectedRow(aRowToSelect, aDoScroll)
{
//Start Change
aDoScroll = false;
//End of Change
if (SelectedRow != null)
{
SelectedRow.className = OldRowClassName;
SetDropDownClassName(SelectedRow, OldRowClassName);
}
OldRowClassName = aRowToSelect.className;
var newClassName;
// Selected priority 1 needs to be painted in different colour.
if ( (OldRowClassName == "normalPriority1") || (OldRowClassName == "altPriority1") )
newClassName = "selectedPriority1";
else
newClassName = "selected";
aRowToSelect.className = newClassName;
SetDropDownClassName(aRowToSelect, newClassName);
alertsGrid.focus();
if(aDoScroll)
{
if(aRowToSelect.rowIndex == 1)
alertsGrid.rows(0).scrollIntoView();
else
aRowToSelect.scrollIntoView();
}
SelectedRow = aRowToSelect;
}
Resolves the issue.
0 -
It seems you also need to amend:
SetDropDownClassName(aRowToSelect, newClassName);
alertsGrid.focus();
if(aDoScroll)
......
To:
SetDropDownClassName(aRowToSelect, newClassName);
//alertsGrid.focus();
if(aDoScroll)
.........
Otherwise the grid will scroll to the top.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 156 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories