Update WP and plugins
This commit is contained in:
parent
10a4713229
commit
1fb77fc4ff
864 changed files with 101724 additions and 78262 deletions
|
|
@ -1,3 +1,10 @@
|
|||
/**
|
||||
* @output wp-includes/js/wpdialog.js
|
||||
*/
|
||||
|
||||
/*
|
||||
* Wrap the jQuery UI Dialog open function remove focus from tinyMCE.
|
||||
*/
|
||||
( function($) {
|
||||
$.widget('wp.wpdialog', $.ui.dialog, {
|
||||
open: function() {
|
||||
|
|
@ -8,6 +15,7 @@
|
|||
|
||||
// Open the dialog.
|
||||
this._super();
|
||||
|
||||
// WebKit leaves focus in the TinyMCE editor unless we shift focus.
|
||||
this.element.focus();
|
||||
this._trigger('refresh');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue