diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 69014059e..2cb993576 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1186,15 +1186,22 @@ $(document).ready(function() { return $content; } /* }}} */ - function getDocumentChooserHtml($formName) { /* {{{ */ + function getDocumentChooserHtml($form, $default=false, $formname='', $skiptree=false) { /* {{{ */ + if(!$formname) + $formname = "docid"; + $formid = md5($formname.$form); + $content = ''; - $content .= ""; + $content .= "getID() : "") ."\">"; $content .= "
'.getMLText('tree_loading').'
@@ -1262,6 +1280,7 @@ function folderSelected(id, name) {