[richfaces-svn-commits] JBoss Rich Faces SVN: r5409 - trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Wed Jan 16 08:01:37 EST 2008
Author: vmolotkov
Date: 2008-01-16 08:01:37 -0500 (Wed, 16 Jan 2008)
New Revision: 5409
Modified:
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
vertical positioning is corrected
Modified: trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
===================================================================
--- trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-01-16 12:03:07 UTC (rev 5408)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-01-16 13:01:37 UTC (rev 5409)
@@ -104,7 +104,6 @@
},
buttonMouseOutHandler : function(e) {
- window.status = "mouseout";
var classCss = this.classes.BUTTON.CLASSES;
var iconStyles = this.classes.BUTTONICON.STYLE;
@@ -483,7 +482,6 @@
},
setWidth : function(width) {
- //var positionElem = this.listParent.childNodes[1];
var positionElem = this.listParent.childNodes[0];
var combobox = this.listParent.parentNode;
@@ -497,7 +495,7 @@
setPosition : function(fieldTop, fieldLeft, fieldHeight) {
var docHeight = Richfaces.getDocumentHeight();
var comBottom = fieldTop + fieldHeight;
- var listHeight = this.listParent.style.height;
+ var listHeight = this.list.style.height;
var top = -4;
if (parseInt(listHeight) > (docHeight - comBottom)) {
More information about the richfaces-svn-commits
mailing list