Author: bleathem
Date: 2014-01-28 13:32:55 -0500 (Tue, 28 Jan 2014)
New Revision: 23291
Modified:
branches/enterprise/3.3.1.SP4/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js
branches/enterprise/3.3.1.SP4/ui/scrollableDataTable/src/main/javascript/ClientUILib.js
Log:
RF-13446: Expanded the fix to include IE9
Modified:
branches/enterprise/3.3.1.SP4/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js
===================================================================
---
branches/enterprise/3.3.1.SP4/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js 2014-01-27
22:09:06 UTC (rev 23290)
+++
branches/enterprise/3.3.1.SP4/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js 2014-01-28
18:32:55 UTC (rev 23291)
@@ -141,7 +141,7 @@
},
setScrollPos: function(pos) {
var contentBoxElement, frozenContentBoxElement;
- if (ClientUILib.isIE7 || ClientUILib.isIE8) {
+ if (ClientUILib.isIE7 || ClientUILib.isIE8 || ClientUILib.isIE9) {
contentBoxElement = document.getElementById(this.contentBox.getElement().id);
frozenContentBoxElement =
document.getElementById(this.frozenContentBox.getElement().id);
} else {
@@ -223,7 +223,7 @@
}
this.scrollBox.show();
// SCRIPT16389: Unspecified error (in IE 8)
- var scrollBoxElement = (ClientUILib.isIE7 || ClientUILib.isIE8)
+ var scrollBoxElement = (ClientUILib.isIE7 || ClientUILib.isIE8 || ClientUILib.isIE9)
? document.getElementById(this.scrollBox.element.id)
: this.scrollBox.element;
scrollBoxElement.scrollTop = scrollTop;
Modified:
branches/enterprise/3.3.1.SP4/ui/scrollableDataTable/src/main/javascript/ClientUILib.js
===================================================================
---
branches/enterprise/3.3.1.SP4/ui/scrollableDataTable/src/main/javascript/ClientUILib.js 2014-01-27
22:09:06 UTC (rev 23290)
+++
branches/enterprise/3.3.1.SP4/ui/scrollableDataTable/src/main/javascript/ClientUILib.js 2014-01-28
18:32:55 UTC (rev 23291)
@@ -108,6 +108,8 @@
/** @type Boolean */
this.isIE8 = (ua.indexOf('msie 8') > -1);
/** @type Boolean */
+ this.isIE9 = (ua.indexOf('msie 9') > -1);
+ /** @type Boolean */
this.isGecko = !this.isSafari && (ua.indexOf('gecko') > -1);
if(ua.indexOf("windows") != -1 || ua.indexOf("win32") != -1){
Show replies by date