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

git-svn-id: https://develop.svn.wordpress.org/trunk@28062 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2014-04-09 00:57:46 +00:00
parent 0d6b3f3e3f
commit b253355d2c
5 changed files with 68 additions and 10 deletions
+3 -3
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 } );