Open-AudIT
http://www.open-audit.org/phpBB3/

OA 1.12.6 Check all Alerts
http://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6529
Page 1 of 1

Author:  a.arenas [ Tue May 31, 2016 1:50 am ]
Post subject:  OA 1.12.6 Check all Alerts

Hi Mark, I just updated to the last version. I noticed that the "changes" and "software changes" check-all selector does not work.

It calls a function called alter_all_alerts() but it doesn't do anything.

Regards,

Andrés Arenas.

Author:  jpa [ Thu Jun 02, 2016 5:09 am ]
Post subject:  Re: OA 1.12.6 Check all Alerts

More renaming changes:

Edit the alter_all_alerts function in application\views\theme-tango\v_report_alerts.php and change the two instances of "$key->alert_id" to "$key->id".

Code:
function alter_all_alerts()
{
if (document.getElementById("alert_id_0").checked == true)
{
<?php
foreach ($query as $key):
echo "\tdocument.getElementById(\"alert_id_".$key->id."\").checked = true;\n";
endforeach;
?>
} else {
<?php
foreach ($query as $key):
echo "\tdocument.getElementById(\"alert_id_".$key->id."\").checked = false;\n";
endforeach;
?>
}

Author:  Mark [ Tue Jun 07, 2016 1:17 am ]
Post subject:  Re: OA 1.12.6 Check all Alerts

Fixed for next release. Thanks for posting this bug.

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/