Fixinh UI see BT#6493

1.9.x
Julio Montoya 12 years ago
parent 3af137fa31
commit c1c3155d34
  1. 8
      main/gradebook/gradebook_scoring_system.php

@ -28,8 +28,8 @@ function plusItem(item) {
document.getElementById("min-"+(item-1)).style.display = "none";
document.getElementById("min-"+(item)).style.display = "inline";
document.getElementById("plus-"+(item+1)).style.display = "inline";
document.getElementById("txta-"+(item)).value = "100";
document.getElementById("txta-"+(item-1)).value = "";
//document.getElementById("txta-"+(item)).value = "100";
//document.getElementById("txta-"+(item-1)).value = "";
}
function minItem(item) {
@ -70,8 +70,8 @@ if ($scoreform->validate()) {
$displaytext=isset($values['displaytext']) ? $values['displaytext'] : null;
for ($counter= 1; $ranges_ok && $counter <= 20; $counter++) {
$setting= array ();
$setting['score']= $endscore[$counter];
$setting['display']= $displaytext[$counter];
$setting['score'] = $endscore[$counter];
$setting['display'] = $displaytext[$counter];
if (!empty($setting['score'])) {
foreach ($scoringdisplay as $passed_entry) {
if ($passed_entry['score'] == $setting['score']) {

Loading…
Cancel
Save