Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api
In directory usw-pr-cvs1:/tmp/cvs-serv21223
Modified Files:
dynlayer.js
Log Message:
the setHTML \n -trick for mac wasn't correct. fixed and moved to the
IE's _setHTML() while this bug is mac/ie -only
Index: dynlayer.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dynlayer.js,v
retrieving revision 1.70
retrieving revision 1.71
diff -C2 -r1.70 -r1.71
*** dynlayer.js 2001/11/05 15:03:18 1.70
--- dynlayer.js 2001/11/11 16:25:18 1.71
***************
*** 290,293 ****
--- 290,294 ----
} else if (is.ie) {
DynLayer.prototype._setHTML=function(html) {
+ if (is.platform=="mac") html+='\n';
this.elm.innerHTML=html;
var images = this.elm.all.tags("img");
***************
*** 307,311 ****
DynLayer.prototype.setHTML=function(html,noevt) {
this.html=html?html:'';
- if (is.platform=="mac") this.html+='\n';
if (this.css==null) return;
if (noevt!=false) this.invokeEvent("beforeload");
--- 308,311 ----
_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-cvs