aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_events.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/mod_events.js')
-rw-r--r--view/js/mod_events.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/view/js/mod_events.js b/view/js/mod_events.js
index 0ce128fcc..fc25e4331 100644
--- a/view/js/mod_events.js
+++ b/view/js/mod_events.js
@@ -1,14 +1,12 @@
$(document).ready( function() { showHideFinishDate(); });
-function showHideFinishDate() {
- if( $('#event-nofinish-checkbox').is(':checked'))
- $('#event-finish-wrapper').hide();
- else
- $('#event-finish-wrapper').show();
-}
-
-
+ function showHideFinishDate() {
+ if( $('#id_nofinish').is(':checked'))
+ $('#event-finish-wrapper').hide();
+ else
+ $('#event-finish-wrapper').show();
+ }
function eventGetStart() {
//reply = prompt("{{$expirewhen}}", $('#jot-expire').val());