Commit 9f678be9 authored by Frank Bergmann's avatar Frank Bergmann

- Implemented CSP (Content Security Policy)

parent 9c100d94
......@@ -231,7 +231,7 @@ values (260, 'workflow_home_inbox', '');
insert into im_view_columns (column_id, view_id, column_name, column_render_tcl, sort_order)
values (26090,260,
'<input type=checkbox onclick="acs_ListCheckAll(''action'',this.checked)">',
'<input id=list_check_all_workflow type=checkbox>',
'"<input type=checkbox name=task_id value=$task_id id=action,$task_id>"',
-10);
......
......@@ -1470,6 +1470,13 @@ ad_proc -public im_workflow_home_inbox_component {
}
return "
<script type=\"text/javascript\" nonce=\"[im_csp_nonce]\">
window.addEventListener('load', function() {
document.getElementById('list_check_all_workflow').addEventListener('click', function() { acs_ListCheckAll('action', this.checked) });
});
</script>
<form action=[ad_conn url] method=GET>
[export_vars -form $filter_passthrough_vars]
<table cellspacing=0 cellpadding=0 border=0>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment