Ticket #3145: 3145.patch

File 3145.patch, 1.6 KB (added by Artur Formella, 15 years ago)
  • _source/lang/en.js

     
    7777                langDirRtl              : 'Right to Left (RTL)',
    7878                langCode                : 'Language Code',
    7979                longDescr               : 'Long Description URL',
     80                loading                 : 'Loading...',
    8081                cssClass                : 'Stylesheet Classes',
    8182                advisoryTitle   : 'Advisory Title',
    8283                cssStyle                : 'Style',
  • _source/plugins/wsc/dialogs/wsc.js

     
    8888                CKEDITOR.document.getById( errorBoxId ).setStyle( 'display', 'none' );
    8989                CKEDITOR.document.getById( iframeId ).setStyle( 'display', 'block' );
    9090
     91                dialog.getContentElement( 'general', 'content' ).getElement().setStyle( 'display', 'block' );
     92                dialog.getContentElement( 'general', 'content_loader' ).getElement().setStyle( 'display', 'none' );
     93
    9194                doSpell({
    9295                        ctrl : textareaId,
    9396                        lang : LangComparer.getSPLangCode( editor.langCode ),
     
    150153                                        {
    151154                                                type : 'html',
    152155                                                id : 'content',
    153                                                 style : 'width:500px;height:400px',
     156                                                style : 'width:500px;height:400px;display:none',
    154157                                                html : '<div></div>'
    155                                         }
     158                                        },
     159                                        {
     160                                                type : 'html',
     161                                                id : 'content_loader',
     162                                                style : 'width:100px;height:400px;padding-top:130px;font-size:12px',
     163                                                html : '<div>' + CKEDITOR.tools.htmlEncode( editor.lang.common.loading ) + '</div>'
     164                                        },
    156165                                ]
    157166                        }
    158167                ]
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy