add js() in view which turns CSP on

This commit is contained in:
Uwe Steinmann 2016-01-27 17:33:40 +01:00
parent 3d2b7c20f6
commit 36602ff54a
2 changed files with 4 additions and 1 deletions

View File

@ -36,7 +36,7 @@ if($view) {
$view->setParam('dms', $dms);
$view->setParam('user', $user);
$view->setParam('allusers', $allUsers);
$view->show();
$view($_GET);
exit;
}

View File

@ -31,6 +31,9 @@ require_once("class.Bootstrap.php");
*/
class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style {
function js() { /* {{{ */
} /* }}} */
function show() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];