Author: pbr
Date: 2006-10-17 14:03:29 -0700 (Tue, 17 Oct 2006)
New Revision: 2171
Modified:
openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
Log:
Added placeholders, with 'not implemented' error for setMaxLength and
setPattern. See LPP-2550
Modified:
openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
===================================================================
--- openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
2006-10-17 20:55:28 UTC (rev 2170)
+++ openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
2006-10-17 21:03:29 UTC (rev 2171)
@@ -101,6 +101,20 @@
}
}
+LzTextSprite.prototype.setMaxLength = function ( val ){
+ // LPP-2550
+ if ($debug) {
+ Debug.error('%s: not yet implemented for dhtml', arguments.callee);
+ }
+}
+
+LzTextSprite.prototype.setPattern = function ( val ){
+ // LPP-2550
+ if ($debug) {
+ Debug.error('%s: not yet implemented for dhtml', arguments.callee);
+ }
+}
+
LzTextSprite.prototype.getTextWidth = function () {
//Debug.write('LzTextSprite.getTextWidth', this.text,
this._textsizecache[this.text]);
if (this.text == null || this.text == '') return 0;
_______________________________________________
Laszlo-checkins mailing list
[EMAIL PROTECTED]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins