Author: max
Date: 2008-03-20 10:30:58 -0700 (Thu, 20 Mar 2008)
New Revision: 8332
Modified:
openlaszlo/trunk/demos/lzpix/app.lzx
Log:
Change 20080319-maxcarlson-f by [EMAIL PROTECTED] on 2008-03-19 21:59:08 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix selection in lzpix
New Features:
Bugs Fixed: LPP-5642 - Can't drag to select photos in lzpix after r8279
Technical Reviewer: promanik
QA Reviewer: hminsky
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Fix bad classname lookup.
Tests: Run demos/lzpix/app.lzx?lzt=html&lzr=dhtml and load a series of photos.
With this change, you won't see an error in firebug.
Modified: openlaszlo/trunk/demos/lzpix/app.lzx
===================================================================
--- openlaszlo/trunk/demos/lzpix/app.lzx 2008-03-20 17:29:57 UTC (rev
8331)
+++ openlaszlo/trunk/demos/lzpix/app.lzx 2008-03-20 17:30:58 UTC (rev
8332)
@@ -1,6 +1,6 @@
<!--
* X_LZ_COPYRIGHT_BEGIN ****************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ******************************************************-->
<canvas width="800" height="600" bgcolor="0xcfcfcf" proxied="true"
title="LZPIX"> <!-- bgcolor="0xc0c0c0" -->
@@ -318,7 +318,7 @@
}
for ( var i = subviews.length-1; i >=0; i-- ){
var sv = subviews[ i ];
- if ( ! ( sv instanceof photo ) ) continue;
+ if ( ! ( sv instanceof lz.photo ) ) continue;
if ( sv.intersectsRectangle( x1, y1, x2 , y2 ) ){
selman.select( sv );
}
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins