Author: jcrowley
Date: 2007-09-28 13:26:36 -0700 (Fri, 28 Sep 2007)
New Revision: 6676
Modified:
openlaszlo/trunk/demos/calendar/infopanel.lzx
Log:
Change 20070928-jcrowley-u by [EMAIL PROTECTED] on 2007-09-28 16:24:50 EDT
in /Users/jcrowley/src/svn/openlaszlo/trunk-a
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: [repackaging for trunk - this was approved by Phil]
DHTML calendar demo wigs out on opening Event Info
New Features:
Bugs Fixed: LPP-4175 - DHTML calendar demo wigs out on opening
Event Info
Technical Reviewer: pbr
QA Reviewer: max
Doc Reviewer:
Documentation:
Release Notes:
Details: I found a larger bug with this one, which was auto-
assigned to Tucker. It's LPP-4499. The issue here is
really that calling LzFocus.setFocus() on something
off-canvas in DHTML will slide the canvas over so that
the focused item is visible. I worked around it in
this case by moving it into an onstop event for one
of the animators called by the same method, to ensure
it didn't get called until after the object was fully
on-screen.
Tests: Run modified Calendar versus unmodified in DHTML; note
the modified version doesn't slide over all crazy-like
when the info panel is opened by clicking the 'i' on
a selected event tag.
Modified: openlaszlo/trunk/demos/calendar/infopanel.lzx
===================================================================
--- openlaszlo/trunk/demos/calendar/infopanel.lzx 2007-09-28 20:26:11 UTC
(rev 6675)
+++ openlaszlo/trunk/demos/calendar/infopanel.lzx 2007-09-28 20:26:36 UTC
(rev 6676)
@@ -280,7 +280,7 @@
<animator start="false" name="slideopen1old" attribute="width" to="204"
duration="500" relative="false"/>
<animator start="false" name="slideopen1" attribute="x" to="602"
from="830"
- duration="500"/>
+ duration="500"
onstop="LzFocus.setFocus(parent.summary.content.title);"/>
<animator start="false" name="slideopen2" attribute="opacity" to="1"
from="0"
duration="500" relative="false"/>
@@ -319,7 +319,6 @@
this.setOpacity(1);
this.slideopen1.doStart();
this.slideopen2.doStart();
- LzFocus.setFocus(summary.content.title);
this.opened = true;
</method>
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins