Ticket #1596: 1596.patch

File 1596.patch, 1.6 KB (added by Frederico Caldeira Knabben, 16 years ago)
  • _whatsnew.html

     
    128128                        resolved issues with OnRequestEnd.cfm breaking the file browser.</li>
    129129                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1509">#1509</a>] InsertHtml() in IE will no
    130130                        longer turn the preceding normal whitespace into &amp;nbsp;.</li>
     131                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1596">#1596</a>] On Safari,
     132                        dialogs have now rigth-to-left layout when it runs a RTL language, like Arabic.</li>
    131133        </ul>
    132134        <p>
    133135                <a href="_whatsnew_history.html">See previous versions history</a>
  • editor/fckdialog.html

     
    8585document.write( '<link href="' + FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
    8686
    8787// Sets the language direction.
    88 var langDir = window.document.dir = E.FCKLang.Dir ;
     88var langDir = document.documentElement.dir = E.FCKLang.Dir ;
    8989
    9090// For IE6-, the fck_dialog_ie6.js is loaded, used to fix limitations in the browser.
    9191if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 )
     
    640640                frmMain.style.visibility = '' ;
    641641
    642642                // Set the language direction.
    643                 innerDoc.dir = langDir ;
     643                innerDoc.documentElement.dir = langDir ;
    644644
    645645                // Sets the Skin CSS.
    646646                innerDoc.write( '<link href="' + FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy