WordPress.org

Make WordPress Core

Changeset 43144


Ignore:
Timestamp:
05/03/2018 03:26:31 PM (2 years ago)
Author:
atimmer
Message:

Docs: Improve JSDoc for wp-includes.js/wpdialog.js.

Props igorsch, LisanneKluitmans, manuelaugustin.
Fixes #43947.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/wpdialog.js

    r26876 r43144  
     1/*
     2 * Wrap the jQuery UI Dialog open function remove focus from tinyMCE.
     3 */
    14( function($) {
    25    $.widget('wp.wpdialog', $.ui.dialog, {
     
    912            // Open the dialog.
    1013            this._super();
     14
    1115            // WebKit leaves focus in the TinyMCE editor unless we shift focus.
    1216            this.element.focus();
Note: See TracChangeset for help on using the changeset viewer.