Here's a testcase from
http://forum.openlaszlo.org/showthread.php?t=9568
<canvas id="maincanvas" width="100%" height="100%" validate="false" debug="false" proxied="false" bgcolor="0x00aaaa">
<debug x="650" y="200" width="800" height="400" fontsize="12"/>
<view width="200" height="200" bgcolor="red">
<handler name="onmouseover">
LzCursor.setCursorGlobal("n-resize");
</handler>
<handler name="onmouseout">
LzCursor.restoreCursor();
</handler>
</view>
<view x="300" y="300" width="200" height="200" bgcolor="blue">
<handler name="onmouseover">
</handler>
</view>
</canvas>
Date: 2007-06-18 17:49:47 -0700 (Mon, 18 Jun 2007)
New Revision: 5465
Modified:
openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
Log:
Change 20070618-maxcarlson-u by maxcarlson@plastik on 2007-06-18 14:44:50 PDT
in /Users/maxcarlson/openlaszlo/legals-clean
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: Fix LzCursor.restoreCursor() in DHTML
New Features:
Bugs Fixed:
LPP-4152- Global cursor should be cleared by LzCursor.restoreCursor() in DHTMLTechnical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Provide correct default value for __showhand value in cases where showHandCursor() hasn't been called.
Tests: See
LPP-4152.Modified: openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
===================================================================
--- openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js 2007-06-18 23:33:14 UTC (rev 5464)
+++ openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js 2007-06-19 00:49:47 UTC (rev 5465)
@@ -63,6 +63,7 @@
document.onmouseup = LzMouseKernel.__mouseEvent;
document.oncontextmenu = LzMouseKernel.__mouseEvent;
}
+ ,__showhand: 'pointer'
/**
* Shows or hides the hand cursor for all clickable views.
_______________________________________________
Laszlo-checkins mailing list
Laszlo-checkins@openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins