Fixed issue in CAPTCHA validation in Post.aspx.
This commit is contained in:
parent
7b5d3223b3
commit
56a6ce3d9d
3 changed files with 5 additions and 3 deletions
|
@ -86,6 +86,8 @@ namespace ScrewTurn.Wiki {
|
|||
protected void btnSend_Click(object sender, EventArgs e) {
|
||||
string content = editor.GetContent();
|
||||
|
||||
Page.Validate();
|
||||
|
||||
if(!Page.IsValid || content.Replace(" ", "").Length == 0 || txtSubject.Text.Replace(" ", "").Length == 0) {
|
||||
lblResult.CssClass = "resulterror";
|
||||
lblResult.Text = Properties.Messages.SubjectAndBodyNeeded;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue