Switch on the CSP in calendar :)

This commit is contained in:
Hadi Nategh 2014-01-06 15:38:25 +00:00
parent ac64b6afc4
commit 33e041a6dc

View File

@ -140,8 +140,6 @@ class calendar_uiviews extends calendar_ui
*/ */
function __construct($set_states=null) function __construct($set_states=null)
{ {
// tell framework calendar needs eval and inline javascript :(
egw_framework::csp_script_src_attrs(array('unsafe-eval', 'unsafe-inline'));
parent::__construct(false,$set_states); // call the parent's constructor parent::__construct(false,$set_states); // call the parent's constructor
$this->extraRowsOriginal = $this->extraRows; //save original extraRows value $this->extraRowsOriginal = $this->extraRows; //save original extraRows value