The folllowing scipts can be placed in Inbox or Datalist Inbox so that after the completion of an assignment, upon returning to the listing of assignments, the first assignment in the list will be opened automatically.

Configure your Inbox or Datalist Inbox and add in the following scripts accordingly.


List View Custom Header
<script type="text/javascript">
$( function(){
if( $.cookie('showNextInList') == 'yes'){
document.location = $("table").find("a").attr("href");
$.cookie('showNextInList', null, {path: '/'});
}
});
</script>
Assignment View Custom Header
<script type="text/javascript">
$( function(){
$("input#assignmentComplete").click( function(){
    $.cookie('showNextInList', 'yes', {path: '/'});
});
});
</script>

Related Elements




  • No labels