added the 7.0 modification script
added the photogallery prototype fixed a bug in the wiki add a page thing fixed a bug with prototypes
This commit is contained in:
parent
29bd26a975
commit
e689c33db6
4 changed files with 71 additions and 4 deletions
|
|
@ -175,7 +175,7 @@ sub page {
|
|||
if (defined($output) and $output eq "") {
|
||||
if ($session->var->isAdminOn) { # they're expecting it to be there, so let's help them add it
|
||||
my $asset = WebGUI::Asset->newByUrl($session, $session->url->getRefererUrl) || WebGUI::Asset->getDefault($session);
|
||||
$session->http->setRedirect($asset->getUrl("func=add;assetId=new;class=WebGUI::Asset::Wobject::Layout;url=".$assetUrl));
|
||||
$session->http->setRedirect($asset->getUrl("func=add;class=WebGUI::Asset::Wobject::Layout;url=".$assetUrl));
|
||||
} else { # not in admin mode, so can't create it, so display not found
|
||||
$session->http->setStatus("404","Page Not Found");
|
||||
my $notFound = WebGUI::Asset->getNotFound($session);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue