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:
@@ -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 } );
|
||||
|
||||
Reference in New Issue
Block a user