Update of /var/cvs/contributions/CMSContainer/cmsc/utilities/src/webapp/editors/utils/ajaxtree In directory james.mmbase.org:/tmp/cvs-serv32507/cmsc/utilities/src/webapp/editors/utils/ajaxtree
Modified Files: Tag: b1_5 ajaxtree.js Log Message: CMSC-659 White background in site tree and content explorer IE6 alpha blending See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/utilities/src/webapp/editors/utils/ajaxtree See also: http://www.mmbase.org/jira/browse/CMSC-659 Index: ajaxtree.js =================================================================== RCS file: /var/cvs/contributions/CMSContainer/cmsc/utilities/src/webapp/editors/utils/ajaxtree/ajaxtree.js,v retrieving revision 1.9.2.1 retrieving revision 1.9.2.2 diff -u -b -r1.9.2.1 -r1.9.2.2 --- ajaxtree.js 17 Oct 2008 11:36:34 -0000 1.9.2.1 +++ ajaxtree.js 27 Apr 2009 09:20:57 -0000 1.9.2.2 @@ -519,12 +519,28 @@ if (ajaxTreeHandler.behavior == 'classic') { document.getElementById(this.id + '-icon').src = this.openIcon; } if (this.childNodes.length) { document.getElementById(this.id + '-cont').style.display = 'block'; } this.open = true; + try { + alphaImages(); + } + catch(e2) { + // ignore + } } -AjaxTreeAbstractNode.prototype.doCollapse = function() { +AjaxTreeAbstractNode.prototype.closeTreeItem = function() { if (ajaxTreeHandler.behavior == 'classic') { document.getElementById(this.id + '-icon').src = this.icon; } if (this.childNodes.length) { document.getElementById(this.id + '-cont').style.display = 'none'; } this.open = false; + try { + alphaImages(); + } + catch(e2) { + // ignore + } +} + +AjaxTreeAbstractNode.prototype.doCollapse = function() { + this.closeTreeItem(); if (ajaxTreeConfig.usePersistence) { ajaxTreeLoader.collapse(this); } _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs