linterna-magica-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linterna-magica-commit] [33] The debug option must be integer, otherwis


From: Ivaylo Valkov
Subject: [linterna-magica-commit] [33] The debug option must be integer, otherwise the web logger is visible, but no data is shown.
Date: Tue, 05 Apr 2011 10:22:42 +0000

Revision: 33
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=33
Author:   valkov
Date:     2011-04-05 10:22:41 +0000 (Tue, 05 Apr 2011)
Log Message:
-----------
The debug option must be integer, otherwise the web logger is visible, but no 
data is shown.

Modified Paths:
--------------
    trunk/src/lm_constructors.js

Modified: trunk/src/lm_constructors.js
===================================================================
--- trunk/src/lm_constructors.js        2011-04-05 09:32:40 UTC (rev 32)
+++ trunk/src/lm_constructors.js        2011-04-05 10:22:41 UTC (rev 33)
@@ -60,7 +60,8 @@
     // element. Otherwise it is created and visible in iframes and
     // objects that are used to embed clips in remote sites.
 
-    this.debug_level = params.debug;
+    // Could be a string, but we need integer.
+    this.debug_level = parseInt(params.debug);
 
     if (this.debug_level && params.log_to == "web")
     {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]