[ 
http://jira.dspace.org/jira/browse/DS-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stuart Lewis resolved DS-221.
-----------------------------

    Resolution: Fixed

Patch applied:

Index: 
dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/administrative/CurrentActivityAction.java
===================================================================
--- 
dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/administrative/CurrentActivityAction.java
   (revision 3705)
+++ 
dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/administrative/CurrentActivityAction.java
   Tue Jun 02 13:51:27 NZST 2009
@@ -321,7 +321,12 @@
                        return "Opera";
                
                if (userAgent.contains("Safari/"))
+               {
+                   if (userAgent.contains("Chrome"))
+                           return "Chrome";
+               
                        return "Safari";
+               }
                
                if (userAgent.contains("Konqueror/"))
                        return "Konqueror";
Index: dspace/CHANGES
===================================================================
--- dspace/CHANGES      (revision 3832)
+++ dspace/CHANGES      Tue Jun 02 13:55:51 NZST 2009
@@ -17,6 +17,7 @@
  - [DS-196] METS exposed via OAI-PMH includes description.provenance 
information
  - [DS-200] SWORD module requires the X-Packaging header
  - [DS-212] NPE thrown during Harvest of non-items when visibility restriction 
is enabled
+ - [DS-221] XMLUI 'current activity' recognises Google Chrome as Safari
 
 (Larry Stone)
  - [DS-193] OAI RDF crosswalk fails when DC value is null


> XMLUI 'current activity' recognises Google Chrome as Safari
> -----------------------------------------------------------
>
>                 Key: DS-221
>                 URL: http://jira.dspace.org/jira/browse/DS-221
>             Project: DSpace 1.x
>          Issue Type: Improvement
>          Components: XMLUI
>    Affects Versions: 1.5.2
>            Reporter: Stuart Lewis
>            Assignee: Stuart Lewis
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: 
> XMLUI_'current_activity'_recognises_Google_Chrome_as_Safari.patch
>
>
> XMLUI 'current activity' recognises Google Chrome as Safari
> user-agent: "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) 
> AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.28 Safari/530.5"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to