revert to using tabs for opening
This commit is contained in:
		
							parent
							
								
									287bc9b984
								
							
						
					
					
						commit
						28efa1d503
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -4,6 +4,7 @@ Window and window content management */ | ||||||
| import texts from "../../mapping/read.js"; | import texts from "../../mapping/read.js"; | ||||||
| import net from "/scripts/utils/net.js"; | import net from "/scripts/utils/net.js"; | ||||||
| import Window from "../window.js"; | import Window from "../window.js"; | ||||||
|  | import Tabs from "/scripts/GUI/tabs.js"; | ||||||
| import logging from '/scripts/logging.js'; | import logging from '/scripts/logging.js'; | ||||||
| import {global, observe} from "/scripts/secretariat.js"; | import {global, observe} from "/scripts/secretariat.js"; | ||||||
| 
 | 
 | ||||||
|  | @ -210,7 +211,7 @@ export default class windowman { | ||||||
| 								new logging((new texts(`page_opening`)).localized, target[`path`]); | 								new logging((new texts(`page_opening`)).localized, target[`path`]); | ||||||
| 
 | 
 | ||||||
| 								// Open the window as a popup. 
 | 								// Open the window as a popup. 
 | ||||||
| 								new Window(target[`path`], Object.assign(target[`dimensions`], {"type": "popup"})); | 								Tabs.create(target[`path`]); | ||||||
| 							}; | 							}; | ||||||
| 
 | 
 | ||||||
| 							button.addEventListener("click", event); | 							button.addEventListener("click", event); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue