WordPress.org

Plugin Directory

Changeset 628599


Ignore:
Timestamp:
11/22/12 10:17:07 (17 months ago)
Author:
yoavf
Message:

Contact Form: fix for the editor resetting the required status of a field when editing an existing form

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/modules/contact-form/js/grunion.js

    r614138 r628599  
    312312            } else { 
    313313                jQuery.each(data.fields, function(index, value) { 
     314                    if ( 1 == value.required ) 
     315                        value.required = 'true'; 
    314316                    fbForm.fields[index] = value; 
    315317                }); 
Note: See TracChangeset for help on using the changeset viewer.