diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 8bc650168..146873b9a 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -5,6 +5,7 @@ - All toolbar icons now have a class called "toolbarIcon" so they can be styled by external CSS. - Profile fields and categories and have confirmation boxes when deleting using the side menu + - Clicking active version tag in sidebar opens up version tag edit screen 7.4.5 - fix: Apostrophy incorrectly escaped as double quote in some places diff --git a/lib/WebGUI/Macro/AdminBar.pm b/lib/WebGUI/Macro/AdminBar.pm index ff08535c5..02b657a29 100644 --- a/lib/WebGUI/Macro/AdminBar.pm +++ b/lib/WebGUI/Macro/AdminBar.pm @@ -119,7 +119,7 @@ sub process { foreach my $tag (@{WebGUI::VersionTag->getOpenTags($session)}) { next unless $session->user->isInGroup($tag->get("groupToUse")); push(@tags, { - url=>$session->url->page("op=setWorkingVersionTag;backToSite=1;tagId=".$tag->getId), + url=>$session->url->page("op=" . ($tag->getId eq $workingId ? "editVersionTag" : "setWorkingVersionTag") . ";backToSite=1;tagId=".$tag->getId), title=>($tag->getId eq $workingId) ? '* '.$tag->get("name").'' : $tag->get("name"), icon=>$session->url->extras('spacer.gif') });