This commit is contained in:
		
							parent
							
								
									e26a838882
								
							
						
					
					
						commit
						66af938858
					
				| @ -216,7 +216,19 @@ function getMsgboxParams() { | ||||
|     return msgbox_params;  | ||||
| } | ||||
| 
 | ||||
| // tmp workaround https://sciter.com/forums/topic/menu-not-be-hidden-when-open-dialog-on-linux/ | ||||
| function msgbox(type, title, text, callback=null, height=180, width=500, retry=0, contentStyle="") { | ||||
|     if (is_linux) { // fix menu not hidden issue | ||||
|       self.timer(1ms,  | ||||
|         function() { | ||||
|           msgbox_(type, title, text, callback, height, width, retry, contentStyle); | ||||
|         }); | ||||
|     } else { | ||||
|         msgbox_(type, title, text, callback, height, width, retry, contentStyle); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| function msgbox_(type, title, text, callback, height, width, retry, contentStyle) { | ||||
|     var has_msgbox = msgbox_params != null; | ||||
|     if (!has_msgbox && !type) return; | ||||
|     var remember = false; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user