Docs: Improve JSDoc for `wp-includes.js/wpdialog.js`.
Props igorsch, LisanneKluitmans, manuelaugustin. Fixes #43947. Built from https://develop.svn.wordpress.org/trunk@43144 git-svn-id: http://core.svn.wordpress.org/trunk@42973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
395cad7d83
commit
21e770973c
|
@ -1,3 +1,6 @@
|
|||
/*
|
||||
* Wrap the jQuery UI Dialog open function remove focus from tinyMCE.
|
||||
*/
|
||||
( function($) {
|
||||
$.widget('wp.wpdialog', $.ui.dialog, {
|
||||
open: function() {
|
||||
|
@ -8,6 +11,7 @@
|
|||
|
||||
// Open the dialog.
|
||||
this._super();
|
||||
|
||||
// WebKit leaves focus in the TinyMCE editor unless we shift focus.
|
||||
this.element.focus();
|
||||
this._trigger('refresh');
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-43143';
|
||||
$wp_version = '5.0-alpha-43144';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue