Skip to content

Commit

Permalink
MDL-36990 - fix position of target boxes with disabled javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
grabs committed Mar 9, 2013
1 parent f94e501 commit e4d1546
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mod/feedback/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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>';
Expand Down

0 comments on commit e4d1546

Please sign in to comment.