Server IP : 52.91.253.208 / Your IP : 3.14.141.115 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apps/wordpress/htdocs/wp-includes/js/ |
Upload File : |
/** * @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() { // Add beforeOpen event. if ( this.isOpen() || false === this._trigger('beforeOpen') ) { return; } // Open the dialog. this._super(); // WebKit leaves focus in the TinyMCE editor unless we shift focus. this.element.trigger('focus'); this._trigger('refresh'); } }); $.wp.wpdialog.prototype.options.closeOnEscape = false; })(jQuery);