mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-15 01:11:15 +08:00
fixed event dragging overlay z-index problem in IE
This commit is contained in:
+2
-2
@@ -181,7 +181,7 @@ function Agenda(element, options, methods) {
|
||||
head.find('td').click(slotClick);
|
||||
|
||||
// all-day event container
|
||||
daySegmentContainer = $("<div style='position:absolute;top:0;left:0'/>").appendTo(head);
|
||||
daySegmentContainer = $("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(head);
|
||||
|
||||
// body
|
||||
d = zeroDate();
|
||||
@@ -206,7 +206,7 @@ function Agenda(element, options, methods) {
|
||||
body.find('td').click(slotClick);
|
||||
|
||||
// slot event container
|
||||
slotSegmentContainer = $("<div style='position:absolute;top:0;left:0'/>").appendTo(bodyContent);
|
||||
slotSegmentContainer = $("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(bodyContent);
|
||||
|
||||
// background stripes
|
||||
d = cloneDate(d0);
|
||||
|
||||
+1
-1
@@ -211,7 +211,7 @@ function Grid(element, options, methods) {
|
||||
tbody = $(s + "</tbody>").appendTo(table);
|
||||
tbody.find('td').click(dayClick);
|
||||
|
||||
segmentContainer = $("<div style='position:absolute;top:0;left:0'/>").appendTo(element);
|
||||
segmentContainer = $("<div style='position:absolute;z-index:8;top:0;left:0'/>").appendTo(element);
|
||||
|
||||
}else{ // NOT first time, reuse as many cells as possible
|
||||
|
||||
|
||||
Reference in New Issue
Block a user