mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	Instance page - view console proxy - thumbnail - only request thumbnails when mouse is over console proxy icon. Stop requesting thumbnails when mouse is out of console proxy icon.
This commit is contained in:
		
							parent
							
								
									d15a676b6c
								
							
						
					
					
						commit
						f7925abaed
					
				| @ -876,8 +876,15 @@ function resetViewConsoleAction(jsonObj, $detailsTab) { | ||||
| 	    //console proxy thumbnail
 | ||||
| 	    var imgUrl = "console?cmd=thumbnail&vm=" + jsonObj.id + "&w=144&h=110";		 | ||||
| 		$viewConsoleTemplate.data("imgUrl", imgUrl); | ||||
| 		disableConsoleHover($viewConsoleContainer); | ||||
| 		 | ||||
| 		$viewConsoleContainer.bind("mouseover", function(event) {	     | ||||
| 			enableConsoleHover($viewConsoleContainer, $viewConsoleTemplate); | ||||
| 			return false; | ||||
| 		}); | ||||
| 		$viewConsoleContainer.bind("mouseout", function(event) {        | ||||
| 			disableConsoleHover($viewConsoleContainer); | ||||
| 			return false; | ||||
| 		});	  | ||||
| 						 | ||||
| 		//console proxy popup
 | ||||
| 		$viewConsoleTemplate.data("proxyUrl", "console?cmd=access&vm=" + jsonObj.id).data("vmId",jsonObj.id).click(function(event) {				 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user