Fixed #421: category creation now correctly fires page validation.
This commit is contained in:
parent
ec33ba95df
commit
93111258e6
2 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,7 @@ namespace ScrewTurn.Wiki {
|
|||
lblNewCategoryResult.CssClass = "";
|
||||
lblNewCategoryResult.Text = "";
|
||||
|
||||
Page.Validate("newcat");
|
||||
if(!Page.IsValid) return;
|
||||
|
||||
txtNewCategory.Text = txtNewCategory.Text.Trim();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue