Revision: 2930 http://vexi.svn.sourceforge.net/vexi/?rev=2930&view=rev Author: clrg Date: 2008-06-04 05:53:29 -0700 (Wed, 04 Jun 2008)
Log Message: ----------- Fixed date/time widgets Modified Paths: -------------- trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datefield.t trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datetime.t trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/timefield.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datefield.t =================================================================== --- trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datefield.t 2008-06-03 03:31:05 UTC (rev 2929) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datefield.t 2008-06-04 12:53:29 UTC (rev 2930) @@ -49,6 +49,7 @@ thisbox.monthview = $month; thisbox.yearview = $year; thisbox.v_popbox = $popbox; + thisbox.v_textbox = null; //////// // internal behaviour Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datetime.t =================================================================== --- trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datetime.t 2008-06-03 03:31:05 UTC (rev 2929) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/datetime.t 2008-06-04 12:53:29 UTC (rev 2930) @@ -11,6 +11,7 @@ thisbox.v_datefield = $date; thisbox.v_timefield = $time; + thisbox.v_textbox = null; thisbox.date ++= function(v) { $date.value = v; Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/timefield.t =================================================================== --- trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/timefield.t 2008-06-03 03:31:05 UTC (rev 2929) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/timefield.t 2008-06-04 12:53:29 UTC (rev 2930) @@ -30,14 +30,16 @@ </ui:box> </lay:pad> <ui:box orient="vertical" width="15" shrink="true"> - <button id="more" minheight="9" repeats="true"> + <button id="more" focusable="false" minheight="9" repeats="true"> <lay:pad padding="0 3"><ui:box fill=":.image.arrowup_small" shrink="true" /></lay:pad> </button> - <button id="less" minheight="9" repeats="true"> + <button id="less" focusable="false" minheight="9" repeats="true"> <lay:pad padding="0 3"><ui:box fill=":.image.arrowdown_small" shrink="true" /></lay:pad> </button> </ui:box> + thisbox.v_textbox = null; + thisbox.period = null; thisbox.hours = null; thisbox.mins = null; @@ -119,8 +121,8 @@ var editToValue = function() { try { value = $edit.v_edit.text; - if (12>hours and $editperiod.text=="PM") hours+=12; } - catch(e) { /* FEATURE: callback */ } + if (12>hours and $editperiod.text=="PM") hours+=12; + } catch(e) { /* FEATURE: callback */ } finally { $editview.display = false; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn