[completed: 608]Fixed bug with Save and Continue in Draft mode.
This commit is contained in:
parent
78d4d07a73
commit
1c8e26fac3
2 changed files with 10 additions and 4 deletions
|
@ -93,8 +93,14 @@ namespace ScrewTurn.Wiki {
|
|||
}
|
||||
|
||||
// Load requested page, if any
|
||||
if(Request["Page"] != null) {
|
||||
string name = Request["Page"];
|
||||
if(Request["Page"] != null || Page.IsPostBack) {
|
||||
string name = null;
|
||||
if(Request["Page"] != null) {
|
||||
name = Request["Page"];
|
||||
}
|
||||
else {
|
||||
name = txtName.Text;
|
||||
}
|
||||
|
||||
currentPage = Pages.FindPage(name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue