Changeset 5577


Ignore:
Timestamp:
06/09/2010 05:25:50 PM (4 years ago)
Author:
wwalc
Message:

Fixed issue with rendering preview when "show preview on first edit" is enabled (part 2).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MediaWiki/trunk/FCKeditorEditPage.body.php

    r5576 r5577  
    99        public function previewOnOpen() { 
    1010                global $wgRequest, $wgUser; 
     11                if ( !$wgUser->getOption( 'riched_disable' ) ) { 
     12                        return false; 
     13                } 
    1114                if( $wgRequest->getVal( 'preview' ) == 'yes' ) { 
    1215                        // Explicit override from request 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy