From d3cee0734ea72785703a4af1b0ff1422984c7d78 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 13 Nov 2013 04:05:57 +0000 Subject: [PATCH] Change jQuery selector in Quick Edit to avoid losing data in IE8. fixes #24923 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@26123 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/inline-edit-post.js | 2 +- src/wp-admin/js/inline-edit-tax.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/js/inline-edit-post.js b/src/wp-admin/js/inline-edit-post.js index 9b8c04d392..e2f05b5c3f 100644 --- a/src/wp-admin/js/inline-edit-post.js +++ b/src/wp-admin/js/inline-edit-post.js @@ -233,7 +233,7 @@ inlineEditPost = { post_status: page }; - fields = $('#edit-'+id+' :input').serialize(); + fields = $('#edit-'+id).find(':input').serialize(); params = fields + '&' + $.param(params); // make ajax request diff --git a/src/wp-admin/js/inline-edit-tax.js b/src/wp-admin/js/inline-edit-tax.js index 609c0d7c9b..50a0a0731b 100644 --- a/src/wp-admin/js/inline-edit-tax.js +++ b/src/wp-admin/js/inline-edit-tax.js @@ -69,7 +69,7 @@ inlineEditTax = { taxonomy: tax }; - fields = $('#edit-'+id+' :input').serialize(); + fields = $('#edit-'+id).find(':input').serialize(); params = fields + '&' + $.param(params); // make ajax request