[Laszlo-checkins] r10914 - openlaszlo/trunk/docs/src/developers/programs
jcrowley@openlaszlo.org
jcrowley at openlaszlo.org
Mon Sep 8 10:04:52 PDT 2008
Author: jcrowley
Date: 2008-09-08 10:04:29 -0700 (Mon, 08 Sep 2008)
New Revision: 10914
Modified:
openlaszlo/trunk/docs/src/developers/programs/states-$5.lzx
Log:
Change 20080905-laszlo-2 by laszlo at T43-L3XEXMW on 2008-09-05 21:23:33 EDT
in /home/laszlo/src/svn/openlaszlo/trunk-ocelot
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: States example 5 miscounts applies
New Features:
Bugs Fixed: LPP-6939 - States example 5 miscounts applies
Technical Reviewer: promanik
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Overlooked this with my last checkin to this
file. I forgot to make it only count applies when
applied was true and not just whenever applied
changed.
Tests: Run the modified file. It should now have the
correct count.
Modified: openlaszlo/trunk/docs/src/developers/programs/states-$5.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/states-$5.lzx 2008-09-08 08:30:09 UTC (rev 10913)
+++ openlaszlo/trunk/docs/src/developers/programs/states-$5.lzx 2008-09-08 17:04:29 UTC (rev 10914)
@@ -4,7 +4,9 @@
setter="this.countApplies = countApplies"/>
<handler name="onapplied">
<![CDATA[
- this.setAttribute('countApplies', this['countApplies'] >= 0 ? ++this.countApplies : 1);
+ if(this.applied == true){
+ this.setAttribute('countApplies', this['countApplies'] >= 0 ? ++this.countApplies : 1);
+ }
]]>
</handler>
</class>
More information about the Laszlo-checkins
mailing list