mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development
This commit is contained in:
		@@ -113,18 +113,11 @@ nopaque.Forms.init = function() {
 | 
			
		||||
    }
 | 
			
		||||
    form.addEventListener("submit", function(event) {
 | 
			
		||||
      event.preventDefault();
 | 
			
		||||
      var formData, progressModalTitleElement;
 | 
			
		||||
      var formData;
 | 
			
		||||
 | 
			
		||||
      formData = new FormData(form);
 | 
			
		||||
      // Initialize progress modal
 | 
			
		||||
      if (progressModalElement) {
 | 
			
		||||
        progressModalTitleElement = progressModalElement.querySelector(".title");
 | 
			
		||||
        for(let entry of formData.entries()) {
 | 
			
		||||
          if (entry[0].endsWith("title")) {
 | 
			
		||||
            progressModalTitleElement.innerText = entry[1];
 | 
			
		||||
            break;
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
        progressElement.style.width = "0%";
 | 
			
		||||
        progressModal.open();
 | 
			
		||||
      }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user