Revision: 4197
          http://vexi.svn.sourceforge.net/vexi/?rev=4197&view=rev
Author:   mkpg2
Date:     2011-07-22 13:24:43 +0000 (Fri, 22 Jul 2011)

Log Message:
-----------
Fix. Misinterpreting null date.

Modified Paths:
--------------
    trunk/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/datefield.t

Modified: 
trunk/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/datefield.t
===================================================================
--- trunk/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/datefield.t     
2011-07-22 13:09:41 UTC (rev 4196)
+++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/datefield.t     
2011-07-22 13:24:43 UTC (rev 4197)
@@ -400,7 +400,7 @@
     }
     
     static.valueWrite = function(v) {
-        if(trapee.valuetype=="vexi.js.Date"){
+        if(v!=null and trapee.valuetype=="vexi.js.Date"){
             v = v+"";
         }
         


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

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to