Author: artdaw
Date: 2011-03-10 07:58:46 -0500 (Thu, 10 Mar 2011)
New Revision: 22130
Modified:
branches/4.0.X/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js
Log:
RF-10640: shadow of popupPanel is fixed. Verified by Anton Belevich.
Modified:
branches/4.0.X/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js
===================================================================
---
branches/4.0.X/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js 2011-03-10
09:36:12 UTC (rev 22129)
+++
branches/4.0.X/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.js 2011-03-10
12:58:46 UTC (rev 22130)
@@ -311,7 +311,7 @@
options.height = this.maxHeight;
}
$(richfaces.getDomElement(eContentElt)).css('height',
options.height + (/px/.test(options.height) ? '' : 'px'));
- var headerHeight = $(richfaces.getDomElement(this.markerId +
"_header"))[0] ? $(richfaces.getDomElement(this.markerId +
"_header"))[0].clientHeight : 0;
+ var headerHeight = $(richfaces.getDomElement(this.markerId +
"_header")) ? $(richfaces.getDomElement(this.markerId +
"_header")).innerHeight() : 0;
this.scrollerDiv.css('height', options.height -
headerHeight + (/px/.test(options.height) ? '' : 'px'));
}
Show replies by date