Plugin Directory

Changeset 1263495


Ignore:
Timestamp:
10/11/2015 01:04:38 PM (10 years ago)
Author:
krozero199
Message:

edit form bug fix

Location:
wp-custom-widget-area
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-custom-widget-area/tags/1.2.0/README.txt

    r1263491 r1263495  
    44Requires at least: 3.0.1
    55Tested up to: 4.3.1
    6 Stable tag: 1.2.0
     6Stable tag: 1.2.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7272
    7373== Changelog ==
     74= 1.2.1 =
     75* Widget area edit form bug fix
    7476
    7577= 1.2.0 =
     
    119121== Upgrade Notice ==
    120122
     123= 1.2.1 =
     124* Widget area edit form bug fix
     125
    121126= 1.2.0 =
    122127* Added widget area edit option
  • wp-custom-widget-area/trunk/admin/js/wp-custom-widget-area-admin.js

    r1263483 r1263495  
    8787                    if (typeof data[k] !== 'function') {
    8888                         //alert("Key is " + k + ", value is" + target[k]);
    89                          $('#cwa-form input[name='+k+']').val(data[k]);
     89                         $('#cwa-form [name='+k+']').val(data[k]);
    9090                       // console.log($('#cwa-form #'+k));
    9191                    }
     
    238238        $('.cwa-form input[type="hidden"]' ).val('');
    239239        $('.cwa-form input[disabled]' ).prop('disabled', false);
     240        $('.cwa-form select' ).val('');
    240241        $('.cwa-form input[type="text"]' ).val('');
    241242        $('.cwa-form input[type="submit"]' ).val('Create');
    242243        $('.cwa-form  .cwa-form-message' ).empty();
     244
    243245    }
    244246    function runTooltip(){
Note: See TracChangeset for help on using the changeset viewer.