mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Fix for #2942. Added flag 32 to hide back buttons.
This commit is contained in:
		
							parent
							
								
									9113dc6963
								
							
						
					
					
						commit
						812f8fdcbe
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -291,7 +291,7 @@
 | 
			
		|||
          "welcomePictureFullScreen": { "type": "boolean", "default": false, "description": "When enabled, the welcomePicture will show as a fullscreen background on the login screen." },
 | 
			
		||||
          "meshMessengerTitle": { "type": "string", "default": "MeshMessenger", "description": "Text that will be displayed on the top of the messenger window when no username or device name is displayed." },
 | 
			
		||||
          "meshMessengerPicture": { "type": "string", "default": null, "description": "Name of a .png image file that is placed in meshcentral-data that is displayed on the top of the messenger web page. When null, the default image is displayed." },
 | 
			
		||||
          "hide": { "type": "integer", "default": 0 },
 | 
			
		||||
          "hide": { "type": "integer", "default": 0, "description": "Sum of: 1 = Hide header, 2 = Hide tab, 4 = Hide footer, 8 = Hide title, 16 = Hide left bar, 32 = Hide back buttons" },
 | 
			
		||||
          "footer": { "type": "string", "default": null, "description": "This is a HTML string displayed at the bottom of the web page when a user is logged in." },
 | 
			
		||||
          "loginfooter": { "type": "string", "default": null, "description": "This is a HTML string displayed at the bottom of the web page when a user is not logged in." },
 | 
			
		||||
          "guestDeviceSharing": { "type": "boolean", "default": true, "description": "When set to false, the desktop/terminal sharing link feature is not available." },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -149,7 +149,7 @@
 | 
			
		|||
      "_welcomePictureFullScreen": false,
 | 
			
		||||
      "_meshMessengerTitle": "MeshMessenger",
 | 
			
		||||
      "_meshMessengerPicture": "messenger.png",
 | 
			
		||||
      "___hide__": "Sum of: 1 = Hide header, 2 = Hide tab, 4 = Hide footer, 8 = Hide title, 16 = Hide left bar",
 | 
			
		||||
      "___hide__": "Sum of: 1 = Hide header, 2 = Hide tab, 4 = Hide footer, 8 = Hide title, 16 = Hide left bar, 32 = Hide back buttons",
 | 
			
		||||
      "_hide": 4,
 | 
			
		||||
      "_footer": "<a href='https://twitter.com/mytwitter'>Twitter</a>",
 | 
			
		||||
      "_loginfooter": "This is a private server.",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1780,7 +1780,7 @@
 | 
			
		|||
            QS('p52recordings')['max-height'] = 'calc(100vh - ' + (48 + xh + xh2) + 'px)';
 | 
			
		||||
 | 
			
		||||
            // We are looking at a single device, remove all the back buttons
 | 
			
		||||
            if ('{{currentNode}}'.toLowerCase() != '') {
 | 
			
		||||
            if ((args.hide & 32) || ('{{currentNode}}'.toLowerCase() != '')) {
 | 
			
		||||
                QV('p10BackButton', false);
 | 
			
		||||
                QV('p11BackButton', false);
 | 
			
		||||
                QV('p12BackButton', false);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue