Fix TinyMCE Views in IE8 and 7:

- Add fallback background images for dashicons.
- Fix hiding the clipboard while still allowing the contents to be selected.
- Work around lack of border-box in gallery styles.
(Includes precommit cleanup for theme.js)
Props gcorne, fixes 27546
Built from https://develop.svn.wordpress.org/trunk@28062


git-svn-id: http://core.svn.wordpress.org/trunk@27894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz
2014-04-09 00:58:15 +00:00
parent 5ca1024284
commit cc694bac21
7 changed files with 69 additions and 11 deletions

View File

@@ -551,7 +551,7 @@ themes.view.Theme = wp.Backbone.View.extend({
});
this.listenTo( preview, 'preview:close', function() {
self.current = self.model
self.current = self.model;
});
},
@@ -755,8 +755,8 @@ themes.view.Preview = themes.view.Details.extend({
html: themes.template( 'theme-preview' ),
render: function() {
var data = this.model.toJSON(),
self = this;
var data = this.model.toJSON();
this.$el.html( this.html( data ) );
themes.router.navigate( themes.router.baseUrl( '?theme=' + this.model.get( 'id' ) ), { replace: true } );