Fix the ability to save changes made to an image.
props markoheijnen. fixes #26000. Built from https://develop.svn.wordpress.org/trunk@26425 git-svn-id: http://core.svn.wordpress.org/trunk@26325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2205a0885a
commit
49a0254863
|
@ -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);
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue