Make WordPress Core

Ticket #29268: 29268.patch

File 29268.patch, 679 bytes (added by iseulde, 12 years ago)
  • src/wp-includes/js/mce-view.js

     
    561561                        setNodes: function () {
    562562                                if ( this.parsed ) {
    563563                                        this.setIframes( this.parsed );
     564                                } else if ( this.parsed === false ) {
     565                                        this.setContent( '<p>' + this.original + '</p>', 'replace' );
    564566                                }
    565567                        },
    566568
    … …  
    574576                                                shortcode: this.shortcode.string()
    575577                                        }
    576578                                } )
     579                                .always( function() {
     580                                        self.parsed = false;
     581                                } )
    577582                                .done( function( response ) {
    578583                                        if ( response ) {
    579584                                                self.parsed = response;