Making WordPress.org

Changeset 2977


Ignore:
Timestamp:
04/19/2016 07:54:01 PM (9 years ago)
Author:
obenland
Message:

Plugin Directory: Use html() to display error message.

Actually displays username in code tags now when a new committer could not
be added.

See #1571.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/js/edit-form.js

    r2753 r2977  
    131131        committerRequestAfter: function( response, data ) {
    132132            if ( data.parsed.errors ) {
    133                 $( '#committer-error' ).text( data.parsed.responses[0].errors[0].message ).show();
     133                $( '#committer-error' ).html( data.parsed.responses[0].errors[0].message ).show();
    134134            } else {
    135135                $( '#committer-error' ).empty().hide();
Note: See TracChangeset for help on using the changeset viewer.