mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-30 12:41:20 +00:00 
			
		
		
		
	add js code for one page mode
This commit is contained in:
		
							parent
							
								
									10f6606efa
								
							
						
					
					
						commit
						e4b934ea76
					
				|  | @ -38,6 +38,7 @@ class SeedDMS_View_MyDocuments extends SeedDMS_Bootstrap_Style { | |||
| 
 | ||||
| 	function js() { /* {{{ */ | ||||
| 		header('Content-Type: application/javascript'); | ||||
| 		$this->printClickDocumentJs(); | ||||
| ?>
 | ||||
| $(document).ready( function() { | ||||
| 	$('body').on('click', 'ul.bs-docs-sidenav li a', function(ev){ | ||||
|  |  | |||
|  | @ -36,6 +36,14 @@ require_once("SeedDMS/Preview.php"); | |||
|  */ | ||||
| class SeedDMS_View_ReceiptSummary extends SeedDMS_Bootstrap_Style { | ||||
| 
 | ||||
| 	function js() { /* {{{ */ | ||||
| 		header('Content-Type: application/javascript; charset=UTF-8'); | ||||
| 		parent::jsTranslations(array('cancel', 'splash_move_document', 'confirm_move_document', 'move_document', 'confirm_transfer_link_document', 'transfer_content', 'link_document', 'splash_move_folder', 'confirm_move_folder', 'move_folder')); | ||||
| 
 | ||||
| 		$this->printDeleteDocumentButtonJs(); | ||||
| 		$this->printClickDocumentJs(); | ||||
| 	} /* }}} */ | ||||
| 
 | ||||
| 	function show() { /* {{{ */ | ||||
| 		$dms = $this->params['dms']; | ||||
| 		$user = $this->params['user']; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann