Ticket #7660: 7660.patch

File 7660.patch, 902 bytes (added by kaga, 13 years ago)
  • CKEditorControl.cs

     
    10151015
    10161016                #region Override Method
    10171017                private string timestamp = "?t=B1GG4Z6";
    1018                 protected override void OnPreRender(EventArgs e)
     1018                protected override void  OnLoad(EventArgs e)
    10191019                {
     1020                        base.OnLoad(e);
    10201021                        this.RegisterStartupScript(this.GetType(), "CKEDITOR_BASEPATH", string.Format("window.CKEDITOR_BASEPATH = '{0}/';\n", (this.CKEditorJSFile.StartsWith("~") ? this.ResolveUrl(this.BasePath) : this.BasePath)), true);
    10211022                        this.RegisterStartupScript(this.GetType(), "ckeditor", "<script src=\"" + (this.CKEditorJSFile.StartsWith("~") ? this.ResolveUrl(this.CKEditorJSFile) : this.CKEditorJSFile) + timestamp + "\" type=\"text/javascript\"></script>", false);
    10221023                        string scriptInit = string.Empty;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy