Revision: 4167
          http://vexi.svn.sourceforge.net/vexi/?rev=4167&view=rev
Author:   clrg
Date:     2011-06-30 03:19:46 +0000 (Thu, 30 Jun 2011)

Log Message:
-----------
Use more useful value trap for cell and unknown types

Modified Paths:
--------------
    trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/cell.t

Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/cell.t
===================================================================
--- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/cell.t     
2011-06-29 23:41:53 UTC (rev 4166)
+++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/cell.t     
2011-06-30 03:19:46 UTC (rev 4167)
@@ -68,7 +68,7 @@
         default:
             c.align = "left";
             t.selected ++= static.selectedWrite;
-            t.value ++= static.valueWrite;
+            t.value ++= static.textValueWrite;
             break;
         }
     }
@@ -107,6 +107,8 @@
     static.textValueWrite = function(v) {
         cascade = v;
         if (v) {
+            if (typeof(v)=="array")
+                v = v.join(", ");
             var n = v.indexOf("\n");
             var r = v.indexOf("\r");
             if (n!=-1 or r!=-1) {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to