Scarab commit: svn commit: r10317 - branches/release/b21/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm

[email protected]
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: ronvoe122
Date: 2006-10-31 10:21:22-0800
New Revision: 10317

Modified:
   branches/release/b21/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm

Log:
[SCB1562] Fixed another place where $link was prepared, but not used afterwards.
This resulted in a broke link when $link was used the next time.

Modified: branches/release/b21/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm
Url: http://scarab.tigris.org/source/browse/scarab/branches/release/b21/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm?view=diff&rev=10317&p1=branches/release/b21/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm&p2=branches/release/b21/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm&r1=10316&r2=10317
==============================================================================
--- branches/release/b21/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm	(original)
+++ branches/release/b21/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm	2006-10-31 10:21:22-0800
@@ -1,10 +1,3 @@
-#macro (initializeTabLink)

-  #set ($tabLink = $link.setPage("ViewIssue.vm").addPathInfo("id", "$currentIssue.UniqueId").addPathInfo("eventSubmit_doSetissueview", "foo").setAction("ViewIssue"))

-  #foreach ($prevNextId in $prevNextList)

-    #set ($dummy = $tabLink.addPathInfo("issueList", $prevNextId))

-  #end

-#end

-

 #set ($canAddComment = $scarabR.hasPermission($scarabG.Permission.ISSUE__COMMENT, $module) && $rmit.Active)

 

 <h3 onClick=smartToggleVisibility('properties')><img name="properties.state" src="$staticLink.setPath($iconCollapse)"/>$l10n.IssueAttributesNavi</h3>

@@ -17,7 +10,6 @@
         <th>$l10n.IssueId</th>

         <td width="25%"><b>$currentIssue.UniqueId ($currentIssue.RModuleIssueType.DisplayName)</b></td>

         <td width="*">

-          #initializeTabLink()

           #if ($currentIssue.isBlocked())

             &nbsp;&nbsp;<a class="blockedmark" STYLE="text-decoration: none" title="$l10n.IssueCurrentlyBlocked" href='$tabLink.addPathInfo("tab", "6")'>$l10n.BlockedWarning</a>  

           #end
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.