Fix importing from clipboard
Since there's no filename to show in the progress popup, show the translator label (e.g., "BibTeX") instead.
This commit is contained in:
		
					parent
					
						
							
								0964277a37
							
						
					
				
			
			
				commit
				
					
						32bebeb1cd
					
				
			
		
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -338,7 +338,9 @@ var Zotero_File_Interface = new function() { | |||
| 		}); | ||||
| 		progressWin.changeHeadline(Zotero.getString('fileInterface.importing')); | ||||
| 		var icon = 'chrome://zotero/skin/treesource-unfiled' + (Zotero.hiDPI ? "@2x" : "") + '.png'; | ||||
| 		let progress = new progressWin.ItemProgress(icon, OS.Path.basename(translation.path)); | ||||
| 		let progress = new progressWin.ItemProgress( | ||||
| 			icon, translation.path ? OS.Path.basename(translation.label) : translators[0].label | ||||
| 		); | ||||
| 		progressWin.show(); | ||||
| 		 | ||||
| 		translation.setHandler("itemDone",  function () { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Stillman
				Dan Stillman