mirror of
				https://git.tt-rss.org/fox/tt-rss.git
				synced 2025-11-04 05:41:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			456 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			456 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
Plugins.Psql_Trgm = {
 | 
						|
	showRelated: function (id) {
 | 
						|
		const query = "backend.php?op=pluginhandler&plugin=af_psql_trgm&method=showrelated¶m=" + encodeURIComponent(id);
 | 
						|
 | 
						|
		if (dijit.byId("trgmRelatedDlg"))
 | 
						|
			dijit.byId("trgmRelatedDlg").destroyRecursive();
 | 
						|
 | 
						|
		dialog = new dijit.Dialog({
 | 
						|
			id: "trgmRelatedDlg",
 | 
						|
			title: __("Related articles"),
 | 
						|
			style: "width: 600px",
 | 
						|
			execute: function () {
 | 
						|
 | 
						|
			},
 | 
						|
			href: query,
 | 
						|
		});
 | 
						|
 | 
						|
		dialog.show();
 | 
						|
	}
 | 
						|
};
 | 
						|
 |