merge stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 02 Sep 2009 15:44:10 +0200
branchstable
changeset 3098 4f4ad6f50212
parent 3093 12a69f7f963b (current diff)
parent 3097 a7adeca85656 (diff)
child 3099 006be45923da
merge
--- a/web/data/cubicweb.calendar.js	Wed Sep 02 09:31:22 2009 +0200
+++ b/web/data/cubicweb.calendar.js	Wed Sep 02 15:44:10 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(),
--- a/web/data/cubicweb.calendar_popup.css	Wed Sep 02 09:31:22 2009 +0200
+++ b/web/data/cubicweb.calendar_popup.css	Wed Sep 02 15:44:10 2009 +0200
@@ -24,17 +24,16 @@
 table.popupCalendar {
   text-align: center;
   border: 1px solid #ccc;
-  z-index: 100;
+  z-index: 400;
 }
 
-
 table.popupCalendar th {
+  border:1px solid #ccc;
   background : #d9d9c1;
   color: black;
   padding: 2px 3px;
 }
 
-
 table.popupCalendar th.calTitle,
 table.popupCalendar th.prev,
 table.popupCalendar th.next {
@@ -51,12 +50,12 @@
   padding: 2px 0px;
 }
 
-
 table.popupCalendar td {
   width: 2em;
   height: 2em;
   background : #f6f5e1;
   font-size: 85%;
+  border:1px solid #ccc;
 }
 
 table.popupCalendar td.today {
--- a/web/data/cubicweb.compat.js	Wed Sep 02 09:31:22 2009 +0200
+++ b/web/data/cubicweb.compat.js	Wed Sep 02 15:44:10 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) {
--- a/web/views/plots.py	Wed Sep 02 09:31:22 2009 +0200
+++ b/web/views/plots.py	Wed Sep 02 15:44:10 2009 +0200
@@ -103,7 +103,7 @@
 
     def _render(self, req, width=500, height=400):
         # XXX IE requires excanvas.js
-        req.add_js( ('jquery.flot.js', 'cubicweb.flot.js') )
+        req.add_js( ('jquery.flot.js', 'cubicweb.flot.js', 'excanvas.js') )
         figid = u'figure%s' % make_uid('foo')
         plotdefs = []
         plotdata = []