[Laszlo-checkins] r12337 - openlaszlo/trunk/test/lfc/legals

max@openlaszlo.org max at openlaszlo.org
Wed Jan 7 07:29:06 PST 2009


Author: max
Date: 2009-01-07 07:29:04 -0800 (Wed, 07 Jan 2009)
New Revision: 12337

Modified:
   openlaszlo/trunk/test/lfc/legals/keyboardandmouse.lzx
Log:
+ update testcase to prevent warnings for mousewheel

Modified: openlaszlo/trunk/test/lfc/legals/keyboardandmouse.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/legals/keyboardandmouse.lzx	2009-01-07 13:25:33 UTC (rev 12336)
+++ openlaszlo/trunk/test/lfc/legals/keyboardandmouse.lzx	2009-01-07 15:29:04 UTC (rev 12337)
@@ -1,6 +1,6 @@
 <!-- 
 /* X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.          *
+* Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.          *
 * Use is subject to license terms.                                        *
 * X_LZ_COPYRIGHT_END ******************************************************/
 -->
@@ -46,7 +46,7 @@
         <eventtester eventname="onmousewheeldelta" reference="lz.Keys">
             <handler name="onvalue" args="v">
                 if (v == null) return;
-                this.setX(this.x + v);
+                this.setAttribute('x', this.x + v);
             </handler>
         </eventtester>
     </view>



More information about the Laszlo-checkins mailing list