src/widgets/Trace.js
branchnew-model
changeset 924 64c2eaafe5e2
parent 906 4b6e154ae8de
child 926 e47ed8eb75cd
--- a/src/widgets/Trace.js	Fri Jun 29 16:22:52 2012 +0200
+++ b/src/widgets/Trace.js	Thu Jul 05 19:08:13 2012 +0200
@@ -9,7 +9,8 @@
     js_console : false,
     url: "http://traces.advene.org:5000/",
     requestmode: 'GET',
-    syncmode: "sync"
+    syncmode: "sync",
+    default_subject: "IRI"
 }
 
 IriSP.Widgets.Trace.prototype.draw = function() {
@@ -49,7 +50,8 @@
     this.tracer = window.tracemanager.init_trace("test", {
         url: this.url,
         requestmode: this.requestmode,
-        syncmode: this.syncmode
+        syncmode: this.syncmode,
+        default_subject: this.default_subject
     });
     this.tracer.trace("StartTracing", {});