From 179af0643864e7d0e79e047d30e66a268ed31b78 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 17 Feb 2016 11:35:01 +0100 Subject: [PATCH] split printFolderChooser() for home folder into js and html --- views/bootstrap/class.UsrMgr.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/views/bootstrap/class.UsrMgr.php b/views/bootstrap/class.UsrMgr.php index 14353af60..cef71a25a 100644 --- a/views/bootstrap/class.UsrMgr.php +++ b/views/bootstrap/class.UsrMgr.php @@ -34,6 +34,8 @@ class SeedDMS_View_UsrMgr extends SeedDMS_Bootstrap_Style { function js() { /* {{{ */ $seluser = $this->params['seluser']; $strictformcheck = $this->params['strictformcheck']; + + $this->printFolderChooserJs("form"); ?> function checkForm() { @@ -250,7 +252,7 @@ $(document).ready( function() { : - printFolderChooser("form".($currUser ? $currUser->getId() : '0'), M_READ, -1, $currUser ? $dms->getFolder($currUser->getHomeFolder()) : 0, 'homefolder');?> + printFolderChooserHtml("form", M_READ, -1, $currUser ? $dms->getFolder($currUser->getHomeFolder()) : 0, 'homefolder');?> :