Author: michiel
Date: 2010-04-09 17:26:19 +0200 (Fri, 09 Apr 2010)
New Revision: 41824

Modified:
   didactor/trunk/components/core/src/main/webapp/core/js/Didactor.js
Log:
if multiple fragments, simply split with those too

Modified: didactor/trunk/components/core/src/main/webapp/core/js/Didactor.js
===================================================================
--- didactor/trunk/components/core/src/main/webapp/core/js/Didactor.js  
2010-04-09 14:51:22 UTC (rev 41823)
+++ didactor/trunk/components/core/src/main/webapp/core/js/Didactor.js  
2010-04-09 15:26:19 UTC (rev 41824)
@@ -183,7 +183,7 @@
     var url = document.location.href;
     var fragmentIndex = url.indexOf('#');
     if (fragmentIndex > 0) {
-        this.fragments = url.substring(fragmentIndex + 1).split('_');
+        this.fragments = url.substring(fragmentIndex + 1).split(/[_#]/);
     }
 }
 

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to