mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
add csp header only if view->js() is defined
This commit is contained in:
parent
1dff276217
commit
07f5512c9a
|
@ -43,7 +43,7 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
|
|||
} /* }}} */
|
||||
|
||||
function htmlStartPage($title="", $bodyClass="") { /* {{{ */
|
||||
if(1||method_exists($this, 'js')) {
|
||||
if(method_exists($this, 'js')) {
|
||||
/* We still need unsafe-eval, because printDocumentChooserHtml and
|
||||
* printFolderChooserHtml will include a javascript file with ajax
|
||||
* which is evaled by jquery
|
||||
|
|
Loading…
Reference in New Issue
Block a user