mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	use $dms->getRootFolder() instead of $settings->_rootFolderId
This commit is contained in:
		
							parent
							
								
									24a919aed1
								
							
						
					
					
						commit
						19afdb9dc3
					
				|  | @ -40,13 +40,14 @@ class SeedDMS_View_FolderChooser extends SeedDMS_Bootstrap_Style { | |||
| 	} /* }}} */ | ||||
| 
 | ||||
| 	function js() { /* {{{ */ | ||||
| 		$dms = $this->params['dms']; | ||||
| 		$rootfolderid = $this->params['rootfolderid']; | ||||
| 		$form = $this->params['form']; | ||||
| 		$mode = $this->params['mode']; | ||||
| 		$orderby = $this->params['orderby']; | ||||
| 
 | ||||
| 		header('Content-Type: application/javascript'); | ||||
| 		$this->printNewTreeNavigationJs($rootfolderid, $mode, 0, $form, 0, $orderby); | ||||
| 		$this->printNewTreeNavigationJs($dms->getRootFolder()->getId()/*$rootfolderid*/, $mode, 0, $form, 0, $orderby); | ||||
| 	} /* }}} */ | ||||
| 
 | ||||
| 	function show() { /* {{{ */ | ||||
|  | @ -59,7 +60,7 @@ class SeedDMS_View_FolderChooser extends SeedDMS_Bootstrap_Style { | |||
| 		$rootfolderid = $this->params['rootfolderid']; | ||||
| 
 | ||||
| //		$this->htmlStartPage(getMLText("choose_target_folder"));
 | ||||
| 		$this->printNewTreeNavigationHtml($rootfolderid, $mode, 0, $form, 0, $orderby); | ||||
| 		$this->printNewTreeNavigationHtml($dms->getRootFolder()->getId()/*$rootfolderid*/, $mode, 0, $form, 0, $orderby); | ||||
| 		echo '<script src="../out/out.FolderChooser.php?action=js&'.$_SERVER['QUERY_STRING'].'"></script>'."\n"; | ||||
| //		$this->htmlEndPage(true);
 | ||||
| 	} /* }}} */ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann