Changeset 945


Ignore:
Timestamp:
2008-12-04 13:46:30 (4 years ago)
Author:
freya
Message:

Iniproperties: read yearRange and isRange from type if needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/static/js/date.js

    r867 r945  
    324324        this._input = $input; 
    325325    }; 
    326      
     326    DateControl.prototype.initProperties = function(){ 
     327        if(this.yearRange == undefined){ 
     328            this.yearRange = this.getType().yearRange; 
     329        } 
     330        if(this.isRange == undefined){ 
     331            this.isRange = this.getType().isRange; 
     332        }         
     333    } 
    327334    DateControl.prototype.getUserValue = function() { 
    328335 
Note: See TracChangeset for help on using the changeset viewer.