--- loncom/interface/lonmenu.pm 2015/01/19 15:36:01 1.431 +++ loncom/interface/lonmenu.pm 2015/03/03 16:53:59 1.431.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.431 2015/01/19 15:36:01 goltermann Exp $ +# $Id: lonmenu.pm,v 1.431.2.1 2015/03/03 16:53:59 musolffc Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1533,6 +1533,13 @@ function toggleCountdown() { return; } +function zeroTimer() { + if (confirm('Are you sure?')) { + document.getElementsByName('done')[0].value = 'true'; + document.getElementsByName('doneButton')[0].submit(); + } +} + END } @@ -2235,6 +2242,10 @@ $collapse +
END } }