Changeset 1567
- Timestamp:
- 2010-06-22 14:55:42 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/static-{build}.key/kauri.forms/control.js
r1563 r1567 1468 1468 this.valueState = Control.STATE_INIT; // mark that this value isn't validated yet. 1469 1469 this.clearMessage(); // and clear messages 1470 this.clearValidationClasses(); 1470 1471 } 1471 1472 } finally { … … 1704 1705 this.setMessage(""); 1705 1706 } 1706 1707 1708 /** 1709 * removes valid/invalid classes added 1710 */ 1711 Control.prototype.clearValidationClasses = function(){ 1712 1713 var mrkElm = this.getElement(ControlElements.REV_MARK); 1714 1715 if(mrkElm){ 1716 mrkElm.removeClass("valid"); 1717 mrkElm.removeClass("invalid"); 1718 } 1719 } 1720 1721 1707 1722 /** 1708 1723 * Gives a string representation of the control … … 1869 1884 } 1870 1885 this.clearMessage(); 1886 this.clearValidationClasses(); 1871 1887 this.operationalState = Control.STATE_DISABLED; 1872 1888 }
Note: See TracChangeset
for help on using the changeset viewer.