Changeset 398


Ignore:
Timestamp:
2008-06-19 13:33:37 (5 years ago)
Author:
jgou
Message:

fix form submit issues

File:
1 edited

Legend:

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

    r396 r398  
    7373    Form.prototype.initDataURIs = function(conf) { 
    7474        if (conf.dataURI != undefined) 
    75             this._dataURITemplate = new $kp.Template(conf.dataURI); 
     75            this._dataURITemplate = new kp.UriTemplate(conf.dataURI); 
    7676        delete conf.dataURI; 
    7777    } 
     
    7979 
    8080    Form.prototype.submit = function() { 
    81         if (! this.validate().isValid()) { 
     81        if (! this.validate()) { 
    8282            alert("This is not a valid form. \nSubmit canceled."); 
    8383            return; 
Note: See TracChangeset for help on using the changeset viewer.