WordPress.org

Make WordPress Core

Changeset 26425


Ignore:
Timestamp:
11/26/2013 11:30:59 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Fix the ability to save changes made to an image.

props markoheijnen.
fixes #26000.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/image-edit.js

    r26292 r26425  
    183183                }
    184184
    185                 if ( $('#imgedit-history-' + postid).val() && $('#imgedit-undone-' + postid).val() === 0 ) {
     185                if ( $('#imgedit-history-' + postid).val() && $('#imgedit-undone-' + postid).val() === '0' ) {
    186186                    $('input.imgedit-submit-btn', '#imgedit-panel-' + postid).removeAttr('disabled');
    187187                } else {
Note: See TracChangeset for help on using the changeset viewer.