Scarab commit: svn commit: r10875 - branches/release/0.22/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab4Att.vm

Johannes Höchstädter <[email protected]>
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: jhoech
Date: 2010-01-22 02:09:39-0800
New Revision: 10875

Modified:
   branches/release/0.22/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab4Att.vm

Log:
FIX - Issue SCB3016 Target for attachments is "_blank" and not an empty? new browser window opened by java script.

Modified: branches/release/0.22/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab4Att.vm
Url: http://scarab.tigris.org/source/browse/scarab/branches/release/0.22/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab4Att.vm?view=diff&pathrev=10875&r1=10874&r2=10875
==============================================================================
--- branches/release/0.22/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab4Att.vm	(original)
+++ branches/release/0.22/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab4Att.vm	2010-01-22 02:09:39-0800
@@ -34,9 +34,7 @@
        #set ($attachLink = $link.setPage("ViewAttachment.vm").setPathInfo("attachId", $file.QueryKey).addPathInfo("filename", $file.FileName).toString())
        ## We add the filename here in case the file is saved, it gives a nice default name
        <td><a href="$attachLink"  
-         onclick="fileWindow=window.open('',
-         'filewindow','resizable=yes,menubar=yes,scrollbars=yes,height=450,width=700')" 
-         target="filewindow">$file.FileName</a> 
+         target="_blank">$file.FileName</a> 
        </td>
        <td>$file.Name</td>
        <td>$file.MimeType</td>

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=2441142
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.