geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akulshresh...@apache.org
Subject svn commit: r524588 - /geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/repository/normal.jsp
Date Sun, 01 Apr 2007 12:52:44 GMT
Author: akulshreshtha
Date: Sun Apr  1 05:52:44 2007
New Revision: 524588

URL: http://svn.apache.org/viewvc?view=rev&rev=524588
Log:
GERONIMO-3044 Fix handling of *nix repository paths in Common Libs portlet

Modified:
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/repository/normal.jsp

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/repository/normal.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/repository/normal.jsp?view=diff&rev=524588&r1=524587&r2=524588
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/repository/normal.jsp
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/repository/normal.jsp
Sun Apr  1 05:52:44 2007
@@ -50,7 +50,7 @@
 function <portlet:namespace/>parse(localFile) {
     // Split the path
     var pathParts = localFile.split("\\"); // Assuming windows file delim
-    if(localFile.indexOf("/") > 0) // May be *nix delim
+    if(localFile.indexOf("/") >= 0) // check if *nix 
         pathParts = localFile.split("/");
     basename = pathParts[pathParts.length - 1]; // Last part is the base file name
 



Mime
View raw message