Changeset 1545


Ignore:
Timestamp:
2010-06-07 11:48:17 (3 years ago)
Author:
freya
Message:

there is no need to trigger update sequences on case controls/composites (this caused strange side effects as numbers not getting parsed correctly in case control etc.)

Location:
trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/static-{build}.key/kauri.forms
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/static-{build}.key/kauri.forms/case.js

    r1510 r1545  
    66 
    77    if (!$) 
    8         throw "[composite.js] requires jQuery"; 
     8        throw "[case.js] requires jQuery"; 
    99    if (!$.org.kauriproject.forms) 
    10         throw "[composite.js] requires the kauri-form namespace"; 
     10        throw "[case.js] requires the kauri-form namespace"; 
    1111 
    1212    var kp = $.org.kauriproject; 
     
    256256    } 
    257257     
    258      
    259     /** 
    260     * Runs validation on this control and acknowledges a change in value 
    261     * @param {Boolean} noValidation perform validation or not 
    262     */ 
    263     CaseControl.prototype.updateValue = function(noValidation){ 
    264     } 
     258 
     259     
     260 
    265261 
    266262     
  • trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/static-{build}.key/kauri.forms/control.js

    r1543 r1545  
    21742174    } 
    21752175     
    2176     /** The input-element which change() event should trigger the update sequence. Undefinef disables update. */ 
    2177     AbstractContainerControl.prototype.getUpdateElement = function(){ 
    2178     }; 
     2176 
    21792177     
    21802178     
     
    23812379    } 
    23822380     
     2381    AbstractContainerControl.prototype.getUpdateElement = function(){ 
     2382        return undefined; 
     2383    }; 
    23832384     
    23842385})(jQuery); 
Note: See TracChangeset for help on using the changeset viewer.