Revision: 3512 http://vexi.svn.sourceforge.net/vexi/?rev=3512&view=rev Author: clrg Date: 2009-05-26 15:15:59 +0000 (Tue, 26 May 2009)
Log Message: ----------- Fix value writes causing stack overflow Modified Paths: -------------- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/textfield.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/textfield.t =================================================================== --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/textfield.t 2009-05-26 10:57:27 UTC (rev 3511) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/textfield.t 2009-05-26 15:15:59 UTC (rev 3512) @@ -147,8 +147,9 @@ /** set the text if value is written to */ static.valueWrite = function(v) { if (trapee.password) { + var val = trapee.value; cascade = v; - if (v != trapee.value) trapee.text = v; + if (val != trapee.value) trapee.text = v; } else { trapee.text = v; return; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn