Changeset 29603
- Timestamp:
- 08/25/2014 07:36:12 PM (11 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/common.css
r29596 r29603 1004 1004 1005 1005 .filter-links .current { 1006 -webkit-box-shadow: none; 1006 1007 box-shadow: none; 1007 1008 border-bottom: 4px solid #666; -
trunk/src/wp-admin/css/list-tables.css
r29597 r29603 1348 1348 clear: right; 1349 1349 width: 65%; 1350 width: -webkit-calc( 100% - 180px ); 1350 1351 width: calc( 100% - 180px ); 1351 1352 } -
trunk/src/wp-includes/js/media-editor.js
r29471 r29603 1 /* global getUserSetting, tinymce, QTags , wpActiveEditor*/1 /* global getUserSetting, tinymce, QTags */ 2 2 3 3 // WordPress, TinyMCE, and Media … … 758 758 */ 759 759 insert: function( html ) { 760 var editor, 760 var editor, wpActiveEditor, 761 761 hasTinymce = ! _.isUndefined( window.tinymce ), 762 hasQuicktags = ! _.isUndefined( window.QTags ), 762 hasQuicktags = ! _.isUndefined( window.QTags ); 763 764 if ( this.activeEditor ) { 765 wpActiveEditor = window.wpActiveEditor = this.activeEditor; 766 } else { 763 767 wpActiveEditor = window.wpActiveEditor; 768 } 764 769 765 770 // Delegate to the global `send_to_editor` if it exists. … … 922 927 923 928 // If an empty `id` is provided, default to `wpActiveEditor`. 924 id = w pActiveEditor;929 id = window.wpActiveEditor; 925 930 926 931 // If that doesn't work, fall back to `tinymce.activeEditor.id`. … … 1054 1059 1055 1060 id = this.id( id ); 1061 this.activeEditor = id; 1056 1062 1057 1063 workflow = this.get( id );
Note: See TracChangeset
for help on using the changeset viewer.