mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +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="") { /* {{{ */
|
function htmlStartPage($title="", $bodyClass="") { /* {{{ */
|
||||||
if(1||method_exists($this, 'js')) {
|
if(method_exists($this, 'js')) {
|
||||||
/* We still need unsafe-eval, because printDocumentChooserHtml and
|
/* We still need unsafe-eval, because printDocumentChooserHtml and
|
||||||
* printFolderChooserHtml will include a javascript file with ajax
|
* printFolderChooserHtml will include a javascript file with ajax
|
||||||
* which is evaled by jquery
|
* which is evaled by jquery
|
||||||
|
|
Loading…
Reference in New Issue
Block a user