ClearFoundation Tracker - ClearOS
View Issue Details
0008921ClearOSapp-events - Events Systempublic2016-05-27 08:292016-08-23 10:14
bchambers 
bchambers 
normalminorhave not tried
closedfixed 
7.2.0 Updates 
7.2.0 Updates7.2.0 Updates 
0008921: Impossible to enable daily event summary
With any type enabled, always returns:

With daily notifications enabled, you must select at least one event type.
No tags attached.
Issue History
2016-05-27 08:29bchambersNew Issue
2016-05-27 08:29bchambersStatusnew => assigned
2016-05-27 08:29bchambersAssigned To => bchambers
2016-05-27 09:22bchambersStatusassigned => acknowledged
2016-05-27 09:23bchambersNote Added: 0003331
2016-05-27 09:23bchambersStatusacknowledged => confirmed
2016-05-27 09:24bchambersNote Added: 0003341
2016-05-27 09:24bchambersStatusconfirmed => resolved
2016-05-27 09:24bchambersFixed in Version => 7.2.0 Updates
2016-05-27 09:24bchambersResolutionopen => fixed
2016-08-23 10:14user2Statusresolved => closed

Notes
(0003331)
bchambers   
2016-05-27 09:23   
In /usr/clearos/apps/events/deploy/events.js.php

update toggle_fields function to:

function toggle_fields() {
    if ($('#status').val() == 1) {
        $('.status-required').attr('disabled', false);
        if ($('#instant_status').val() == 1) {
            $('.instant-required').attr('disabled', false);
        } else {
            $('.instant-required').attr('disabled', true);
            $('.instant-required').prop('checked', false);
        }
        if ($('#daily_status').val() == 1) {
            $('.daily-required').attr('disabled', false);
        } else {
            $('.daily-required').attr('disabled', true);
            $('.daily-required').prop('checked', false);
        }
    } else {
        $('.status-required').attr('disabled', true);
    }
}
(0003341)
bchambers   
2016-05-27 09:24   
As of May 27, 2016, can be installed via:

yum --enablerepo=clearos-updates-testing upgrade app-events