mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	Show prepare button if status switches to failed.
This commit is contained in:
		@@ -147,7 +147,7 @@
 | 
				
			|||||||
      statusElement.classList.add(CorpusList.STATUS_COLORS[status] || CorpusList.STATUS_COLORS['default']);
 | 
					      statusElement.classList.add(CorpusList.STATUS_COLORS[status] || CorpusList.STATUS_COLORS['default']);
 | 
				
			||||||
      statusElement.innerText = status;
 | 
					      statusElement.innerText = status;
 | 
				
			||||||
      var analyseBtn = document.getElementById('analyse');
 | 
					      var analyseBtn = document.getElementById('analyse');
 | 
				
			||||||
      if (status === 'prepared' || status === 'analysing') {
 | 
					      if (status === 'prepared' || status === 'analysing' || status === 'failed') {
 | 
				
			||||||
        analyseBtn.classList.remove('hide', 'disabled');
 | 
					        analyseBtn.classList.remove('hide', 'disabled');
 | 
				
			||||||
      } else if (status === 'start analysis' || status === 'stop analysis') {
 | 
					      } else if (status === 'start analysis' || status === 'stop analysis') {
 | 
				
			||||||
        analyseBtn.classList.remove('hide');
 | 
					        analyseBtn.classList.remove('hide');
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user