mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	Add more old functionality
This commit is contained in:
		@@ -219,8 +219,20 @@ document.addEventListener("DOMContentLoaded", () => {
 | 
			
		||||
    '#sub-results-export',
 | 
			
		||||
    '#download-results-json',
 | 
			
		||||
    '#query-results-download-modal',
 | 
			
		||||
    '#query-results-table'
 | 
			
		||||
    '#query-results-table',
 | 
			
		||||
    '#display-options-form-expert_mode',
 | 
			
		||||
  ]);
 | 
			
		||||
  /**
 | 
			
		||||
   * The following event Listener handles the expert mode switch for the list
 | 
			
		||||
   */
 | 
			
		||||
  resultsList.displayOptionsFormExpertMode.onchange = (event) => {
 | 
			
		||||
    if (event.target.checked) {
 | 
			
		||||
      resultsList.expertModeOn('query-display', results);
 | 
			
		||||
    } else {
 | 
			
		||||
      resultsList.expertModeOff('query-display');
 | 
			
		||||
    }
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * The following event Listener handles the add-btn and the inspect-btn
 | 
			
		||||
   * onclick events via bubbleing.
 | 
			
		||||
@@ -235,8 +247,9 @@ document.addEventListener("DOMContentLoaded", () => {
 | 
			
		||||
       resultsList.addToSubResults(dataIndex);
 | 
			
		||||
     }
 | 
			
		||||
   })
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Display events: Following event listeners are handleing the
 | 
			
		||||
   * Display events: Following event listeners are handling the
 | 
			
		||||
   * live update of hits per page if hits per page value is changed and the
 | 
			
		||||
   * context size of every match.
 | 
			
		||||
   */
 | 
			
		||||
@@ -246,6 +259,7 @@ document.addEventListener("DOMContentLoaded", () => {
 | 
			
		||||
  resultsList.displayOptionsFormResultContext.onchange = () => {
 | 
			
		||||
    resultsList.changeContext();
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * The following event listener handel the Show metadata button and its
 | 
			
		||||
   * functionality. Before the needed modal is initialized.
 | 
			
		||||
@@ -270,7 +284,7 @@ document.addEventListener("DOMContentLoaded", () => {
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  };
 | 
			
		||||
  resultsList.addToSubResults.on
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * The following event listeners are handeling the data export.
 | 
			
		||||
   * 1. Create full-results
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user