mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Fixed type button for guest sharing sessions, #3961
This commit is contained in:
		
							parent
							
								
									3eafe424f1
								
							
						
					
					
						commit
						0dab6de02d
					
				
					 1 changed files with 23 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -288,7 +288,7 @@
 | 
			
		|||
        var agentPresent = true;
 | 
			
		||||
        var intelAmtPresent = false;
 | 
			
		||||
        var deskAspectRatio = 0;
 | 
			
		||||
        var desktopsettings = { encoding: 2, showfocus: false, showmouse: true, showcad: true, quality: 40, scaling: 1024, framerate: 100, localkeymap: false };
 | 
			
		||||
        var desktopsettings = { encoding: 2, showfocus: false, showmouse: true, showcad: true, quality: 40, scaling: 1024, framerate: 100, localkeymap: false, remotekeymap: false };
 | 
			
		||||
        var serverPublicNamePort = '{{{serverDnsName}}}:{{{serverPublicPort}}}';
 | 
			
		||||
        var domain = '{{{domain}}}';
 | 
			
		||||
        var domainUrl = '{{{domainurl}}}';
 | 
			
		||||
| 
						 | 
				
			
			@ -1049,6 +1049,11 @@
 | 
			
		|||
                }, 10);
 | 
			
		||||
            } else {
 | 
			
		||||
                // MeshAgent
 | 
			
		||||
                if (desktopsettings.remotekeymap !== true) {
 | 
			
		||||
                    // New unicode typing
 | 
			
		||||
                    desktop.m.SendStringUnicode(txt);
 | 
			
		||||
                } else {
 | 
			
		||||
                    // Old scan code typing. This is for non-unicode system.
 | 
			
		||||
                    for (var i in txt) {
 | 
			
		||||
                        var a = txt.charCodeAt(i), b = ltxt.charCodeAt(i);
 | 
			
		||||
                        if (((a >= 65) && (a <= 90)) || ((a >= 97) && (a <= 122))) {
 | 
			
		||||
| 
						 | 
				
			
			@ -1069,6 +1074,7 @@
 | 
			
		|||
                    desktop.m.SendKeyMsgKC(x);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /*
 | 
			
		||||
        // Show clipboard dialog
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue