Skip to content

Commit dccc988

Browse files
authored
Merge pull request #228 from codepress/release/3.2.4
Hot fix: ac_quickedit_events
2 parents 52a859c + e551d7f commit dccc988

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

assets/js/table.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

classes/AdminColumns.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ protected function get_version_key() {
113113
* @return string
114114
*/
115115
public function get_version() {
116-
return '3.2.3';
116+
return '3.2.4';
117117
}
118118

119119
/**

readme.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Contributors: codepress, tschutter, davidmosterd, engelen, dungengronovius
33
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZDZRSYLQ4Z76J
44
Tags: plugins, wordpress, admin, column, columns, custom columns, custom fields, image, dashboard, sortable, filters, posts, media, users, pages, posttypes, manage columns, wp-admin
55
Requires at least: 4.5
6-
Tested up to: 4.9.6
6+
Tested up to: 4.9.7
77
Requires PHP: 5.2.4
8-
Stable tag: 3.2.3
8+
Stable tag: 3.2.4
99

1010
Customise columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
1111

@@ -213,6 +213,12 @@ You can find a list of the available actions and filters (and examples on how to
213213

214214
== Changelog ==
215215

216+
= 3.2.4 =
217+
218+
Release Date: July 11th, 2018
219+
220+
* [Fixed] Improved performance for ac_quickedit_events()
221+
216222
= 3.2.3 =
217223

218224
Release Date: June 26th, 2018

src/js/table.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,15 @@ function ac_tooltips( $ ) {
171171
function ac_quickedit_events( $ ) {
172172

173173
$( document ).ajaxComplete( function( event, request ) {
174-
var $result = $( '<div>' ).append( request.responseText );
174+
var ownerDocument = document.implementation.createHTMLDocument( 'quickeditevents' );
175+
var $result = $( '<div>', ownerDocument );
175176

177+
$result.append( request.responseText );
176178
if ( $result.find( 'tr.iedit' ).length === 1 ) {
177179
var id = $result.find( 'tr.iedit' ).attr( 'id' );
178180

179-
$( 'tr#' + id ).trigger( 'updated' );
181+
$( 'tr#' + id ).trigger( 'updated' )
180182
}
181183
} );
184+
182185
}

0 commit comments

Comments
 (0)