Changeset 501


Ignore:
Timestamp:
2008-08-06 08:16:09 (5 years ago)
Author:
mpo
Message:

remote validation has to assure sending proper json strings

File:
1 edited

Legend:

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

    r495 r501  
    1010        throw "[basic-validators.js] requires the kauri-form namespace"; 
    1111 
     12    var kp = $.org.kauriproject; 
    1213    var kf = $.org.kauriproject.forms; 
    1314    var locale = kf.locale; 
     
    135136                    return this.notifySuccess(); 
    136137 
     138                value = kp.JSON.stringify(value); 
     139                 
    137140                if (!this.location) 
    138141                    throw "A location-path for remote validation should be given!"; 
Note: See TracChangeset for help on using the changeset viewer.