bugfix: user was redirected to the clipboard after cutting a page
This commit is contained in:
parent
e1320cebb6
commit
c8e752d80b
2 changed files with 4 additions and 1 deletions
|
|
@ -243,7 +243,9 @@ sub www_cutPage {
|
|||
|
||||
} elsif (WebGUI::Page::canEdit()) {
|
||||
$page = WebGUI::Page->getPage($session{page}{pageId});
|
||||
my $parentId = $page->get("parentId") || 1;
|
||||
$page->cut;
|
||||
WebGUI::Session::refreshPageInfo($parentId);
|
||||
return "";
|
||||
} else {
|
||||
return WebGUI::Privilege::insufficient();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue