Revision: 4713
          http://sourceforge.net/p/vexi/code/4713
Author:   clrg
Date:     2014-08-05 12:48:22 +0000 (Tue, 05 Aug 2014)
Log Message:
-----------
Fix date not getting properly set on datepicker

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

Modified: 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/datefield.t
===================================================================
--- 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/datefield.t
    2014-08-04 23:57:25 UTC (rev 4712)
+++ 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/datefield.t
    2014-08-05 12:48:22 UTC (rev 4713)
@@ -113,9 +113,10 @@
         /** assign date and popup */
         $select.action ++= function(v) {
             popup = true;
-            $datepicker.day = day;
-            $datepicker.month = month;
-            $datepicker.year = year;
+            var date = $datepicker.value;
+            $datepicker.day = date.day;
+            $datepicker.month = date.month;
+            $datepicker.year = date.year;
             return;
         }
         

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


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to