a couple bug fixes
finishing up the versioning system
This commit is contained in:
parent
8dac9d9daa
commit
df1514ee74
9 changed files with 111 additions and 18 deletions
|
|
@ -283,7 +283,10 @@ sub getToolbar {
|
|||
if (exists $session{asset}) {
|
||||
$returnUrl = "&proceed=goBackToPage&returnUrl=".WebGUI::URL::escape($session{asset}->getUrl);
|
||||
}
|
||||
my $toolbar = editIcon('func=edit'.$returnUrl,$self->get("url"));
|
||||
my $toolbar;
|
||||
if (!$self->isLocked || $self->get("isLockedBy") eq $session{user}{userId}) {
|
||||
$toolbar = editIcon('func=edit'.$returnUrl,$self->get("url"));
|
||||
}
|
||||
my $i18n = WebGUI::International->new("Asset");
|
||||
return '<script language="javascript" type="text/javascript">
|
||||
var contextMenu = new contextMenu_createWithImage("'.$self->getIcon(1).'","'.$self->getId.'","'.$self->getName.'");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue