[tags] redirect to view page after updating tags, fixes #1103
This commit is contained in:
parent
d2689ae225
commit
cefd48e94f
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ class TagCategories extends Extension
|
||||||
}
|
}
|
||||||
if ($event->page_matches("tags/categories", method: "POST", permission: Permissions::EDIT_TAG_CATEGORIES)) {
|
if ($event->page_matches("tags/categories", method: "POST", permission: Permissions::EDIT_TAG_CATEGORIES)) {
|
||||||
$this->page_update();
|
$this->page_update();
|
||||||
|
$page->set_mode(PageMode::REDIRECT);
|
||||||
|
$page->set_redirect(make_link("tags/categories"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue