Adding missing js code.

1.9.x
Julio Montoya 11 years ago
parent fd9a481c39
commit 7c0d9d1a65
  1. 8
      main/calendar/agenda.php

@ -46,6 +46,14 @@ $eventId = isset($_REQUEST['id']) ? $_REQUEST['id'] : null;
$type = $event_type = isset($_GET['type']) ? $_GET['type'] : null;
$htmlHeadXtra[] = "<script>
function plus_repeated_event() {
if (document.getElementById('options2').style.display == 'none') {
document.getElementById('options2').style.display = 'block';
} else {
document.getElementById('options2').style.display = 'none';
}
}
$(function() {
var checked = $('input[name=repeat]').attr('checked');
if (checked) {

Loading…
Cancel
Save