Bug 45485 - some fixes for ie6, but dragging <td> does not work anyway

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1261 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2011-04-22 15:43:16 +00:00
parent 0a58432ee6
commit b52da47129
3 changed files with 4 additions and 4 deletions

View File

@ -313,7 +313,7 @@ DragObject.prototype.dragStart = function(offset)
top: s.top, top: s.top,
left: s.left, left: s.left,
position: s.position, position: s.position,
opacity: s.opacity, opacity: s.opacity
}; };
s.position = 'absolute'; s.position = 'absolute';
this.mouseOffset = offset; this.mouseOffset = offset;

View File

@ -387,12 +387,12 @@ var CardDropTarget = function(e)
CardDropTarget.prototype = new DropTarget(); CardDropTarget.prototype = new DropTarget();
CardDropTarget.prototype.onLeave = function() CardDropTarget.prototype.onLeave = function()
{ {
this.element.style.border = ''; this.element.style.border = '1px dashed black';
}; };
CardDropTarget.prototype.onMove = function(pos) CardDropTarget.prototype.onMove = function(pos)
{ {
var w = this.element.scrollWidth; var w = this.element.scrollWidth;
this.element.style.border = ''; this.element.style.border = '1px dashed black';
if (pos.x < w/2) if (pos.x < w/2)
this.element.style.borderLeft = '5px solid red'; this.element.style.borderLeft = '5px solid red';
else else

View File

@ -13,7 +13,7 @@
.dot { white-space: nowrap; } .dot { white-space: nowrap; }
.dot a { color: black; text-decoration: none; } .dot a { color: black; text-decoration: none; }
.sevpri { font-size: 80%; vertical-align: bottom; } .sevpri { font-size: 80%; vertical-align: bottom; }
.desc { height: 100%; border: 1px solid black; vertical-align: top; font-size: 110%; } .desc { height: 100%; border: 1px solid black; vertical-align: top; font-size: 110%; word-wrap: break-word; }
p { margin: 0.3em 0; } p { margin: 0.3em 0; }
.card { margin: [% t.cmt %]cm [% t.cmr %]cm [% t.cmb %]cm [% t.cml %]cm; font-size: [% t.fs %]pt; width: [% t.cw %]cm; height: [% t.ch %]cm; font-weight: bold; border-collapse: separate; } .card { margin: [% t.cmt %]cm [% t.cmr %]cm [% t.cmb %]cm [% t.cml %]cm; font-size: [% t.fs %]pt; width: [% t.cw %]cm; height: [% t.ch %]cm; font-weight: bold; border-collapse: separate; }
.card td { text-align: center; } .card td { text-align: center; }