equal
deleted
inserted
replaced
15 |
15 |
16 // Open the dialog. |
16 // Open the dialog. |
17 this._super(); |
17 this._super(); |
18 |
18 |
19 // WebKit leaves focus in the TinyMCE editor unless we shift focus. |
19 // WebKit leaves focus in the TinyMCE editor unless we shift focus. |
20 this.element.focus(); |
20 this.element.trigger('focus'); |
21 this._trigger('refresh'); |
21 this._trigger('refresh'); |
22 } |
22 } |
23 }); |
23 }); |
24 |
24 |
25 $.wp.wpdialog.prototype.options.closeOnEscape = false; |
25 $.wp.wpdialog.prototype.options.closeOnEscape = false; |