Update of /var/cvs/contributions/didactor2/src/core/templates/core/js
In directory james.mmbase.org:/tmp/cvs-serv2503

Modified Files:
        Didactor.js 
Log Message:
also added the possibility to remove some uninteresing parameters from the 
report


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/core/templates/core/js


Index: Didactor.js
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/templates/core/js/Didactor.js,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- Didactor.js 29 Aug 2008 08:14:40 -0000      1.7
+++ Didactor.js 29 Aug 2008 08:21:28 -0000      1.8
@@ -6,7 +6,7 @@
  * One global variable 'didactor' is automaticly created, which can be be 
referenced (as long as the di:head tag is used).
  * @since Didactor 2.3.0
  * @author Michiel Meeuwissen
- * @version $Id: Didactor.js,v 1.7 2008/08/29 08:14:40 michiel Exp $
+ * @version $Id: Didactor.js,v 1.8 2008/08/29 08:21:28 michiel Exp $
  */
 
 
@@ -32,9 +32,14 @@
        $.query.REMOVE(param);
        if (this.content != null) break;
     }
+    for (var i = 0; i < Didactor.ignoredParameters.length; i++) {
+       var param = Didactor.ignoredParameters[i];
+       $.query.REMOVE(param);
+    }
 }
 
 Didactor.contentParameters = ["learnobject", "openSub" ];
+Didactor.ignoredParameters = ["referrer" ];
 
 Didactor.prototype.getSetting = function(name) {
     return $("html head meta[name='" + name + "']").attr("content");
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to