mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Fix some problems after merge
This commit is contained in:
		@@ -76,7 +76,7 @@
 | 
			
		||||
              if (response.status === 404) {app.flash('Not Found', 'error'); reject(response);}
 | 
			
		||||
              {# app.flash(`You are not following "{{ corpus.title }}" anymore`, 'corpus'); #}
 | 
			
		||||
              resolve(response);
 | 
			
		||||
              window.location.href = '{{ url_for("corpora.public_corpus", corpus_id=corpus.id) }}';
 | 
			
		||||
              window.location.href = '{{ url_for("corpora.corpus", corpus_id=corpus.id) }}';
 | 
			
		||||
            },
 | 
			
		||||
            (response) => {
 | 
			
		||||
              app.flash('Something went wrong', 'error');
 | 
			
		||||
@@ -92,7 +92,7 @@
 | 
			
		||||
              if (response.status === 403) {app.flash('Forbidden', 'error'); reject(response);}
 | 
			
		||||
              if (response.status === 404) {app.flash('Not Found', 'error'); reject(response);}
 | 
			
		||||
              {# app.flash(`You follow "{{ corpus.title }}" now`, 'corpus'); #}
 | 
			
		||||
              window.location.href = '{{ url_for("corpora.public_corpus", corpus_id=corpus.id) }}';
 | 
			
		||||
              window.location.href = '{{ url_for("corpora.corpus", corpus_id=corpus.id) }}';
 | 
			
		||||
              resolve(response);
 | 
			
		||||
            },
 | 
			
		||||
            (response) => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user