chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1400135 - in /chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp: WEB-INF/web.xml images/ images/document.png images/folder.png index.html
Date Fri, 19 Oct 2012 15:46:35 GMT
Author: jens
Date: Fri Oct 19 15:46:35 2012
New Revision: 1400135

URL: http://svn.apache.org/viewvc?rev=1400135&view=rev
Log:
fix  bug with folder navigation  add a few missing images

Added:
    chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/images/
    chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/images/document.png
  (with props)
    chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/images/folder.png
  (with props)
Modified:
    chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/WEB-INF/web.xml
    chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/index.html

Modified: chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/WEB-INF/web.xml?rev=1400135&r1=1400134&r2=1400135&view=diff
==============================================================================
--- chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/WEB-INF/web.xml
(original)
+++ chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/WEB-INF/web.xml
Fri Oct 19 15:46:35 2012
@@ -2,4 +2,5 @@
 <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
 	version="2.5">
-</web-app>
\ No newline at end of file
+	
+</web-app>

Added: chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/images/document.png
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/images/document.png?rev=1400135&view=auto
==============================================================================
Binary file - no diff available.

Propchange: chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/images/document.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/images/folder.png
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/images/folder.png?rev=1400135&view=auto
==============================================================================
Binary file - no diff available.

Propchange: chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/images/folder.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/index.html?rev=1400135&r1=1400134&r2=1400135&view=diff
==============================================================================
--- chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/index.html (original)
+++ chemistry/playground/chemistry-opencmis-javascript-client/src/main/webapp/index.html Fri
Oct 19 15:46:35 2012
@@ -119,7 +119,7 @@
                                 props["cmis:contentStreamFileName"].value != null) {
                             text = "<a href='" + session.getRootUrl() + "?cmisselector=content&objectId="
+ props["cmis:objectId"].value + "' target='_new' >" + text + "</a>"
                         } else if (baseType == "cmis:folder" && propsToDisplay[propKey]
== "cmis:name") {
-                            text = $('<a>').attr("href", "javascript:void()").click(function()
{drillDownChildren(props["cmis:objectId"].value);}).html(text);
+    						text = $('<a>').attr("href", "javascript:drillDownChildren(" + props["cmis:objectId"].value
+ ")").html(text);
                         }
 			            row.append($('<td>').html(text));
 	                    trace ("add col: " + prop.value);



Mime
View raw message