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
This commit is contained in:
parent
4f0bb96602
commit
d3cee0734e
@ -233,7 +233,7 @@ inlineEditPost = {
|
|||||||
post_status: page
|
post_status: page
|
||||||
};
|
};
|
||||||
|
|
||||||
fields = $('#edit-'+id+' :input').serialize();
|
fields = $('#edit-'+id).find(':input').serialize();
|
||||||
params = fields + '&' + $.param(params);
|
params = fields + '&' + $.param(params);
|
||||||
|
|
||||||
// make ajax request
|
// make ajax request
|
||||||
|
@ -69,7 +69,7 @@ inlineEditTax = {
|
|||||||
taxonomy: tax
|
taxonomy: tax
|
||||||
};
|
};
|
||||||
|
|
||||||
fields = $('#edit-'+id+' :input').serialize();
|
fields = $('#edit-'+id).find(':input').serialize();
|
||||||
params = fields + '&' + $.param(params);
|
params = fields + '&' + $.param(params);
|
||||||
|
|
||||||
// make ajax request
|
// make ajax request
|
||||||
|
Loading…
Reference in New Issue
Block a user