Bug 343187 DnD month view: Drop shadow for events spanning multiple days is not correct, r=dmose
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203325 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -446,9 +446,6 @@
|
||||
shadowStart.day -= this.monthView.mShadowIndex;
|
||||
shadowStart.normalize();
|
||||
for (var i = 0; i < this.monthView.mShadowLength; i++) {
|
||||
shadowStart.day += i;
|
||||
shadowStart.normalize();
|
||||
|
||||
var dropbox = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "box");
|
||||
dropbox.setAttribute("dropbox", "true");
|
||||
dropbox.setAttribute("flex", "1");
|
||||
@@ -456,6 +453,9 @@
|
||||
var box = this.monthView.findBoxForDate(shadowStart).box;
|
||||
box.dayitems.insertBefore(dropbox, box.dayitems.firstChild);
|
||||
this.monthView.mDropShadows.push(dropbox);
|
||||
|
||||
shadowStart.day += 1;
|
||||
shadowStart.normalize();
|
||||
}
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user