Author: abelevich
Date: 2008-06-16 07:30:30 -0400 (Mon, 16 Jun 2008)
New Revision: 9048
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
http://jira.jboss.com/jira/browse/RF-3259
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
===================================================================
---
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-06-16
11:25:57 UTC (rev 9047)
+++
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-06-16
11:30:30 UTC (rev 9048)
@@ -51,7 +51,7 @@
this.combobox.observe("rich:onselect", this.onselected);
}
if (this.isDisabled) {
- this.doDisable();
+ this.disable(); //TODO rename to 'disable'
}
if (Richfaces.browser.isIE6) {
@@ -209,7 +209,7 @@
fieldBlurHandler : function(event) {
if (!this.comboList.isList) {
- this.doNormal();
+ this.enable();
var value = this.field.value;
if (value.length == 0) {
this.applyDefaultText();
@@ -341,7 +341,7 @@
this.isDisabled = false;
},
- doDisable : function() {
+ disable : function() {
this.button.className = this.classes.BUTTON.CLASSES.DISABLED;
this.buttonBG.className = this.classes.BUTTONBG.CLASSES.DISABLED;
this.field.className = this.classes.FIELD.CLASSES.DISABLED;
@@ -357,7 +357,7 @@
this.isDisabled = true;
},
- doNormal : function() {
+ enable : function() {
this.button.className = this.classes.BUTTON.CLASSES.NORMAL;
this.buttonBG.className = this.classes.BUTTONBG.CLASSES.NORMAL;
this.field.className = this.classes.FIELD.CLASSES.NORMAL;