Changeset 7280 for CKEditor.NET/trunk/CKEditor.NET/CKEditorControl.cs
- Timestamp:
- 09/15/11 11:40:33 (20 months ago)
- File:
-
- 1 edited
-
CKEditor.NET/trunk/CKEditor.NET/CKEditorControl.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor.NET/trunk/CKEditor.NET/CKEditorControl.cs
r7260 r7280 1023 1023 #region Override Method 1024 1024 private string timestamp = "?t=B1GG4Z6"; 1025 protected override void On Load(EventArgs e)1026 { 1027 base.On Load(e);1025 protected override void OnPreRender(EventArgs e) 1026 { 1027 base.OnPreRender(e); 1028 1028 this.RegisterStartupScript(this.GetType(), "CKEDITOR_BASEPATH", string.Format("window.CKEDITOR_BASEPATH = '{0}/';\n", (this.CKEditorJSFile.StartsWith("~") ? this.ResolveUrl(this.BasePath) : this.BasePath)), true); 1029 1029 this.RegisterStartupScript(this.GetType(), "ckeditor", "<script src=\"" + (this.CKEditorJSFile.StartsWith("~") ? this.ResolveUrl(this.CKEditorJSFile) : this.CKEditorJSFile) + timestamp + "\" type=\"text/javascript\"></script>", false);
Note: See TracChangeset
for help on using the changeset viewer.
