Author: Alex.Kolonitsky
Date: 2009-07-10 12:46:03 -0400 (Fri, 10 Jul 2009)
New Revision: 14897
Modified:
branches/community/3.3.X/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
ComboBox: a gap between the input box and the arrow button in case DOCTYPE does not
present on the page.
https://jira.jboss.org/jira/browse/RF-7430
Modified:
branches/community/3.3.X/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
===================================================================
---
branches/community/3.3.X/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2009-07-10
15:52:18 UTC (rev 14896)
+++
branches/community/3.3.X/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2009-07-10
16:46:03 UTC (rev 14897)
@@ -110,7 +110,7 @@
},
setInputWidth : function() {
- var width = (parseInt(this.field.parentNode.style.width) - this.BUTTON_WIDTH) -
Richfaces.getBorderWidth(this.field, "lr") -
Richfaces.getBorderWidth(this.button, "lr") -
Richfaces.getPaddingWidth(this.field,"lr");
+ var width = parseInt(this.field.parentNode.style.width) - this.BUTTON_WIDTH;
this.field.style.width = width + "px";
},