[Laszlo-checkins] r13128 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml
bargull@openlaszlo.org
bargull at openlaszlo.org
Mon Mar 2 16:38:15 PST 2009
Author: bargull
Date: 2009-03-02 16:38:11 -0800 (Mon, 02 Mar 2009)
New Revision: 13128
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
Log:
Change 20090303-bargull-Tb7 by bargull at dell--p4--2-53 on 2009-03-03 00:45:33
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: DHTML: add css-style for textlink
New Features:
Bugs Fixed: LPP-7551 (partial)
Technical Reviewer: hminsky
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Added new css-style for textlinks ("lztextlink") and applied to span in LzTextSprite.prototype.makeTextLink
Tests:
testcase from bugreport in dhtml
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js 2009-03-03 00:12:44 UTC (rev 13127)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js 2009-03-03 00:38:11 UTC (rev 13128)
@@ -262,6 +262,9 @@
letterSpacing: '0px',
textDecoration: 'none'
},
+ lztextlink: {
+ cursor: 'pointer'
+ },
writeCSS: function() {
var css = '';
for (var classname in this) {
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js 2009-03-03 00:12:44 UTC (rev 13127)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js 2009-03-03 00:38:11 UTC (rev 13128)
@@ -531,7 +531,7 @@
LzTextSprite.prototype.makeTextLink = function (str, value) {
LzTextSprite.addLinkID(this.owner);
var uid = this.owner.getUID();
- return "<span onclick=\"javascript:$modules.lz.__callTextLink('" + uid+"', '" + value +"')\">" + str +"</span>";
+ return "<span class=\"lztextlink\" onclick=\"javascript:$modules.lz.__callTextLink('" + uid+"', '" + value +"')\">" + str +"</span>";
}
// value is encoded as VIEWID:value
More information about the Laszlo-checkins
mailing list