incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vram...@apache.org
Subject svn commit: r1155179 - in /sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling: explorer/js/explorer.js servlet/default/explorer/item.esp
Date Tue, 09 Aug 2011 01:00:33 GMT
Author: vramdal
Date: Tue Aug  9 01:00:33 2011
New Revision: 1155179

URL: http://svn.apache.org/viewvc?rev=1155179&view=rev
Log:
SLING-2170 Fixed by replacing '=' with '_' when generating DOM node IDs.

Modified:
    sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/explorer/js/explorer.js
    sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/item.esp

Modified: sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/explorer/js/explorer.js
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/explorer/js/explorer.js?rev=1155179&r1=1155178&r2=1155179&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/explorer/js/explorer.js
(original)
+++ sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/explorer/js/explorer.js
Tue Aug  9 01:00:33 2011
@@ -324,6 +324,7 @@ path_2_id = function( path ) {
     id = id.replace(/\(/g, '_');// due to the css selectors
     id = id.replace(/\)/g, '_');// due to the css selectors
     id = id.replace(/\s/g, '_');// due to the css selectors
+    id = id.replace(/=/g, '_');// due to the css selectors
     return id;
 }
 

Modified: sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/item.esp
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/item.esp?rev=1155179&r1=1155178&r2=1155179&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/item.esp
(original)
+++ sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/item.esp
Tue Aug  9 01:00:33 2011
@@ -54,6 +54,7 @@ if ( resource )
             id = id.replace(/\(/g, '_');// due to the css selectors
             id = id.replace(/\)/g, '_');// due to the css selectors
             id = id.replace(/\s/g, '_');// due to the css selectors
+            id = id.replace(/=/g, '_');// due to the css selectors
             %>
             <li>
                 <p id="<%= id %>">



Mime
View raw message