diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index bc114930e7a11d9baf4b1d40a53b9641ed60d58f..114166e42b4e192070bcf64c30b8cb09ad9978c6 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -1374,7 +1374,9 @@ class CommonObject print '<td align="right" width="50">'.$langs->trans('Qty').'</td>'; print '<td align="right" width="50">'.$langs->trans('ReductionShort').'</td>'; print '<td align="right" width="50">'.$langs->trans('TotalHTShort').'</td>'; - print '<td width="48" colspan="3"> </td>'; + print '<td width="10"> </td>'; + print '<td width="10"> </td>'; + print '<td width="10"> </td>'; print "</tr>\n"; } diff --git a/htdocs/core/tpl/ajaxrow.tpl.php b/htdocs/core/tpl/ajaxrow.tpl.php index f0b75716a60a357fa50b6d81bbd89b22cdca5141..0fc1e047b5ada43a967207a1ec2f2cfd580e5ffb 100644 --- a/htdocs/core/tpl/ajaxrow.tpl.php +++ b/htdocs/core/tpl/ajaxrow.tpl.php @@ -23,8 +23,8 @@ <script> jQuery(document).ready(function(){ -/* jQuery(".imgup").hide(); */ -/* jQuery(".imgdown").hide(); */ + jQuery(".imgup").hide(); + jQuery(".imgdown").hide(); jQuery(".lineupdown").removeAttr('href'); jQuery("#objectline").tableDnD({ onDrop: function(table, row) { @@ -34,10 +34,10 @@ jQuery(document).ready(function(){ }, dragHandle: "tdlineupdown" }); - jQuery(".tdlineupdown").hover(function() { - jQuery(this).addClass('showDragHandle'); + jQuery("#objectline tr").hover(function() { + jQuery(this.cells[8]).addClass("showDragHandle"); }, function() { - jQuery(this).removeClass('showDragHandle'); + jQuery(this.cells[8]).removeClass("showDragHandle"); }); }); </script> diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index a692730ad6bfd21c615651c348ed446b4412d1d7..a637f57119d7f8ac625e3522cc99a067a08b2afb 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -155,9 +155,6 @@ form { margin: 0em 0em 0em 0em; } -.dragHandle { -} - .dragClass { background: #b3c5cc; }