[richfaces-svn-commits] JBoss Rich Faces SVN: r5669 - 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
Mon Jan 28 11:36:11 EST 2008
Author: vmolotkov
Date: 2008-01-28 11:36:11 -0500 (Mon, 28 Jan 2008)
New Revision: 5669
Modified:
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
iframe's added
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-28 16:26:53 UTC (rev 5668)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-01-28 16:36:11 UTC (rev 5669)
@@ -48,8 +48,8 @@
}
if (Prototype.Browser.IE) {
- //this.comboList.createIframe(this.combobox, listWidth, this.combobox.id,
- // "rich-combobox-list-width rich-combobox-list-scroll rich-combobox-list-position");
+ this.comboList.createIframe(this.combobox, listWidth, this.combobox.id,
+ "rich-combobox-list-width rich-combobox-list-scroll rich-combobox-list-position");
}
this.initHandlers();
},
@@ -523,19 +523,19 @@
if (parseInt(listHeight) > (docHeight - comBottom)) {
if (fieldTop > (docHeight - comBottom)) {
top = fieldTop - parseInt(listHeight);
- var upPos = true;
+ //var upPos = true;
}
}
this.listParent.style.top = top + "px";
this.listParent.style.left = fieldLeft + "px";
- if (!upPos) {
+ /*if (!upPos) {
top = Richfaces.ComboBoxList.getElemXY(this.listParent).top + this.fieldDimensions.height;
- }
+ }*/
if (this.iframe) {
this.iframe.style.top = top + "px";
- this.iframe.style.left = Richfaces.ComboBoxList.getElemXY(this.listParent).left + "px";
+ this.iframe.style.left = fieldLeft + "px";
}
},
More information about the richfaces-svn-commits
mailing list