mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user