Fix the ability to save changes made to an image.
props markoheijnen. fixes #26000. git-svn-id: https://develop.svn.wordpress.org/trunk@26425 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c294a6bd3e
commit
60a28aa61a
|
@ -182,7 +182,7 @@ var imageEdit = window.imageEdit = {
|
|||
callback();
|
||||
}
|
||||
|
||||
if ( $('#imgedit-history-' + postid).val() && $('#imgedit-undone-' + postid).val() === 0 ) {
|
||||
if ( $('#imgedit-history-' + postid).val() && $('#imgedit-undone-' + postid).val() === '0' ) {
|
||||
$('input.imgedit-submit-btn', '#imgedit-panel-' + postid).removeAttr('disabled');
|
||||
} else {
|
||||
$('input.imgedit-submit-btn', '#imgedit-panel-' + postid).prop('disabled', true);
|
||||
|
|
Loading…
Reference in New Issue