Permalink
Browse files

MDL-36990 - fix position of target boxes with disabled javascript

  • Loading branch information...
1 parent f94e501 commit e4d15461165ec28905462484d9898d3f8b3466a0 @grabs grabs committed Dec 11, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 mod/feedback/edit.php
View
@@ -417,7 +417,11 @@
}
echo $OUTPUT->box_end();
echo $OUTPUT->box_end();
+ echo '<div class="clearer">&nbsp;</div>';
+ echo '</li>';
+ //print out the target box if we ar moving an item
if (isset($SESSION->feedback->moving) AND $SESSION->feedback->moving->shouldmoving == 1) {
+ echo '<li>';
$moveposition++;
$movehereurl->param('movehere', $moveposition);
echo $OUTPUT->box_start('clipboard'); //only shown if shouldmoving = 1
@@ -428,9 +432,8 @@
<img class="movetarget" alt="'.$strbutton.'" src="'.$src.'" />
</a>';
echo $OUTPUT->box_end();
+ echo '</li>';
}
- echo '<div class="clearer">&nbsp;</div>';
- echo '</li>';
}
echo $OUTPUT->box_end();
echo '</ul>';

0 comments on commit e4d1546

Please sign in to comment.