Ticket #7850: 7850.patch
File 7850.patch, 931 bytes (added by , 13 years ago) |
---|
-
CKEditorControl.cs
54 54 } 55 55 } 56 56 57 private bool isChanged = false; 58 57 59 #endregion 58 60 59 61 #region CKEditor Other Settings Property … … 1068 1070 } 1069 1071 this.RegisterOnSubmitStatement(this.GetType(), "aspintegrator_Postback" + this.ClientID, string.Format("CKEditor_TextBoxEncode('{0}', {1}); ", this.ClientID, isInUpdatePanel ? 1 : 0)); 1070 1072 this.RegisterStartupScript(this.GetType(), "aspintegratorInitial_" + this.ClientID, script, true); 1073 if (isChanged) OnTextChanged(e); 1071 1074 } 1072 1075 1073 1076 #endregion … … 1090 1093 string postedValue = HttpUtility.HtmlDecode(postCollection[postDataKey]); 1091 1094 if (this.Text != postedValue) 1092 1095 { 1096 isChanged = true; 1093 1097 this.Text = postedValue; 1094 1098 return true; 1095 1099 }