updateWeblog now saves language/country
This commit is contained in:
parent
b85a4d393a
commit
0a0461e9f8
1 changed files with 2 additions and 0 deletions
|
|
@ -101,6 +101,8 @@ function updateWeblog() {
|
|||
this.online = parseInt(req.data.online,10);
|
||||
this.discussions = parseInt(req.data.discussions,10);
|
||||
this.archive = parseInt(req.data.archive,10);
|
||||
this.language = req.data.language ? req.data.language.substring(0,2) : "";
|
||||
this.country = req.data.country ? req.data.country.substring(0,2) : "";
|
||||
this.birthdate = this.checkdate("birthdate");
|
||||
res.message = "The changes were saved successfully!";
|
||||
res.redirect(this.href());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue