Enock Khondowe 202025800044 & Samantha Rusike 202025800046: Mark Submission error Bug No.177.
parent
bea6d94db7
commit
a29a9053bd
|
@ -470,11 +470,11 @@ include 'Footer.php';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<script src="./css/jquery-1.11.1.min.js"></script>
|
<script src="http://118.25.96.118/nor/css/jquery-1.11.1.min.js"></script>
|
||||||
|
|
||||||
<script src="./css/jquery-ui.min.js"></script>
|
<script src="http://118.25.96.118/nor/css/jquery-ui.min.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="./css/jquery-ui.css" />
|
<link rel="stylesheet" href="http://118.25.96.118/nor/css/jquery-ui.css" />
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
@ -486,7 +486,7 @@ include 'Footer.php';
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
$('<form id="frm" method="get" action="Script.php">'+title+'('+marks+' marks) <input type="hidden" name="savemarks" value="true">\n\
|
$('<form id="submit-form" method="get" action="Script.php">'+title+'('+marks+' marks) <input type="hidden" name="savemarks" value="true">\n\
|
||||||
<input type="hidden" name="total" value="'+marks+'" > <input type="hidden" name="id" value="'+id+'" ><br> Marks <input type="text" name="marks">\n\
|
<input type="hidden" name="total" value="'+marks+'" > <input type="hidden" name="id" value="'+id+'" ><br> Marks <input type="text" name="marks">\n\
|
||||||
Comments <textarea name="feedback"></textarea> \n\
|
Comments <textarea name="feedback"></textarea> \n\
|
||||||
<input type="hidden" name="labid" value="<?php echo $course_id; ?>"> <input type="hidden" name="header" value="<?php echo $header; ?>"> </form>').dialog({
|
<input type="hidden" name="labid" value="<?php echo $course_id; ?>"> <input type="hidden" name="header" value="<?php echo $header; ?>"> </form>').dialog({
|
||||||
|
@ -494,8 +494,8 @@ include 'Footer.php';
|
||||||
title:'Mark Submission',
|
title:'Mark Submission',
|
||||||
buttons: {
|
buttons: {
|
||||||
'Submit Marking': function () {
|
'Submit Marking': function () {
|
||||||
$('#frm').submit();
|
$('#submit-form').submit();
|
||||||
|
//$('input[type=submit].default').submit();
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
},
|
},
|
||||||
'X': function () {
|
'X': function () {
|
||||||
|
@ -528,7 +528,7 @@ Update Visibility<br><select name="status"> <option> Public </option><option>Pri
|
||||||
title:'Update Report Visibility',
|
title:'Update Report Visibility',
|
||||||
buttons: {
|
buttons: {
|
||||||
'Update': function () {
|
'Update': function () {
|
||||||
$('#frm').submit();
|
$('#submit-form').submit()
|
||||||
|
|
||||||
$(this).dialog('close');
|
$(this).dialog('close');
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue