Remove **scratch**
parent
02da71b130
commit
58758be824
|
@ -1,28 +0,0 @@
|
||||||
function mark(id, title, marks) {
|
|
||||||
|
|
||||||
try {
|
|
||||||
|
|
||||||
$('<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\
|
|
||||||
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({
|
|
||||||
modal: true,
|
|
||||||
title: 'Mark submission',
|
|
||||||
buttons: {
|
|
||||||
'Submit': function() {
|
|
||||||
$('#submit-form').submit();
|
|
||||||
$(this).dialog('close');
|
|
||||||
},
|
|
||||||
'Cancel': function() {
|
|
||||||
$(this).dialog('close');
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
} catch (e) {
|
|
||||||
alert(e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
root@lenovo-xiaoxin-2019.49005:1690466109
|
|
Loading…
Reference in New Issue