Revision: 4643 http://sourceforge.net/p/vexi/code/4643 Author: mkpg2 Date: 2014-01-26 04:13:49 +0000 (Sun, 26 Jan 2014) Log Message: ----------- Fix. Was showing blank when duration is 0.
Modified Paths: -------------- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/durationfield.t Modified: branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/durationfield.t =================================================================== --- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/durationfield.t 2014-01-18 00:19:12 UTC (rev 4642) +++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/durationfield.t 2014-01-26 04:13:49 UTC (rev 4643) @@ -70,6 +70,7 @@ static.formatDuration= function(d, largestUnit) { if(d==null) return null; + if(d==0) return "0"; var r = ""; var i = units.getIndex(largestUnit); for(; units.list.length>i; i++){ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn