# HG changeset patch # User Katia Saurfelt # Date 1251880843 -7200 # Node ID 8ee9529d8367cec76ab1778151430abcdad579b5 # Parent 80431394272439ed351d6a3f6d2285bf589adcb9 [views] #343641: fix calendar with IE6/7 diff -r 804313942724 -r 8ee9529d8367 web/data/cubicweb.calendar.js --- a/web/data/cubicweb.calendar.js Wed Sep 02 10:40:16 2009 +0200 +++ b/web/data/cubicweb.calendar.js Wed Sep 02 10:40:43 2009 +0200 @@ -112,7 +112,8 @@ this.domtable = TABLE({'class': this.cssclass}, THEAD(null, TR(null, TH(null, A({'href' : prevlink}, "<<")), - TH({'colspan' : 5, 'style' : "text-align: center;"}, monthname), + // IE 6/7 requires colSpan instead of colspan + TH({'colSpan': 5, 'colspan':5, 'style' : "text-align: center;"}, monthname), TH(null, A({'href' : nextlink}, ">>")))), TBODY(null, this._headdisplay(), diff -r 804313942724 -r 8ee9529d8367 web/data/cubicweb.compat.js --- a/web/data/cubicweb.compat.js Wed Sep 02 10:40:16 2009 +0200 +++ b/web/data/cubicweb.compat.js Wed Sep 02 10:40:43 2009 +0200 @@ -172,7 +172,7 @@ } node[key] = value; } else { // normal node attribute - node.setAttribute(key, params[key]); + jQuery(node).attr(key, params[key]); } } if (children) {