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:
Sergey Biryukov 2013-11-26 23:31:10 +00:00
parent 2205a0885a
commit 49a0254863
2 changed files with 2 additions and 2 deletions

View File

@ -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