Better JavaScript function name.
parent
7f870d8c7a
commit
6b8f97dc58
|
@ -31,7 +31,7 @@ if( $_SESSION['user_type']=="Lecturer" || $_SESSION['user_type']=="TA")
|
|||
<script>
|
||||
|
||||
|
||||
function extend_deadline(id) {
|
||||
function extendDeadline(id) {
|
||||
|
||||
var dropstudents=$("#dropstudents").html();
|
||||
|
||||
|
@ -326,7 +326,7 @@ New Date/Time <br><input type="date" name="date" required=""> <input type="time"
|
|||
<br> <span style='font-size:8pt'>Posted : $posted Deadline : <b> $deadline </b> ($marks Marks) "
|
||||
. "<br>"
|
||||
|
||||
. "<span class='btn-default'> $count_subs Submissions ( $count_marked Marked ) <a href='Courses.php?course=".$url."&act=edit&cid=".$id."'>Edit</a> | <a href='~\..\Submissions.php?id=$id&header=$header&total=$marks' onclick=''> View </a> | <a href='#' onclick='extend_deadline($id)'> Extend Deadline </a> </span> <hr> Attachments : $full_link </span>"
|
||||
. "<span class='btn-default'> $count_subs Submissions ( $count_marked Marked ) <a href='Courses.php?course=".$url."&act=edit&cid=".$id."'>Edit</a> | <a href='~\..\Submissions.php?id=$id&header=$header&total=$marks' onclick=''> View </a> | <a href='#' onclick='extendDeadline($id)'> Extend Deadline </a> </span> <hr> Attachments : $full_link </span>"
|
||||
. " </div>
|
||||
";
|
||||
|
||||
|
|
Loading…
Reference in New Issue