Plugin Directory

Changeset 361330


Ignore:
Timestamp:
03/17/2011 05:24:34 PM (15 years ago)
Author:
stesvis
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • easy-contact-form-lite/trunk/js/main.js

    r361242 r361330  
    3434        cursor: 'move',
    3535        update: function(ev){
    36             $('#form_builder tr').each(function(index){
    37            
    38                 $(this).find('input[field="field_name"]').attr('name', 'field_name[' + index + ']');
    39                 $(this).find('input[field="field_label"]').attr('name', 'field_label[' + index + ']');
    40                 $(this).find('select[field="field_type"]').attr('name', 'field_type[' + index + ']');
    41                 $(this).find('input[field="field_value"]').attr('name', 'field_value[' + index + ']');
    42                
    43                 $(this).find('input[field="field_required"]').attr('name', 'field_required[' + index + ']');
    44             });
     36            $(this).sortable('cancel');
     37            alert('Please upgrade to enable this feature');
    4538        }
    4639    });
Note: See TracChangeset for help on using the changeset viewer.