mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	Use JSON patch the correct way!
This commit is contained in:
		@@ -31,11 +31,12 @@
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
<script>
 | 
			
		||||
  var corpusListOptions = {item: '<a><span class="title"></span><span class="description"></span></a>',
 | 
			
		||||
                           page: 4,
 | 
			
		||||
                           pagination: true,
 | 
			
		||||
                           valueNames: ["description", "title", {data: ["id"]}]}
 | 
			
		||||
  var corpusList = new CorpusList("corpus-list", corpusListOptions);
 | 
			
		||||
  var corpusList = new CorpusList("corpus-list", {
 | 
			
		||||
    item: '<div><span class="title"></span><span class="description"></span></div>',
 | 
			
		||||
    page: 4,
 | 
			
		||||
    pagination: true,
 | 
			
		||||
    valueNames: ["description", "title", {data: ["id"]}]
 | 
			
		||||
  });
 | 
			
		||||
  corpusList.on("filterComplete", List.updatePagination);
 | 
			
		||||
  corpusList.on("searchComplete", List.updatePagination);
 | 
			
		||||
</script>
 | 
			
		||||
@@ -74,13 +75,14 @@
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
<script>
 | 
			
		||||
  jobListOptions = {item: '<a><span class="title"></span><span class="description"></span></a>',
 | 
			
		||||
                    page: 4,
 | 
			
		||||
                    pagination: true,
 | 
			
		||||
                    valueNames: ["description", "title", {data: ["id"]}]}
 | 
			
		||||
  var jobList = new JobList("job-list", jobListOptions);
 | 
			
		||||
  jobList.on("filterComplete", List.updatePagination);
 | 
			
		||||
  jobList.on("searchComplete", List.updatePagination);
 | 
			
		||||
var jobList = new JobList("job-list", {
 | 
			
		||||
  item: '<div><span class="title"></span><span class="description"></span></div>',
 | 
			
		||||
  page: 4,
 | 
			
		||||
  pagination: true,
 | 
			
		||||
  valueNames: ["description", "title", {data: ["id"]}]
 | 
			
		||||
});
 | 
			
		||||
jobList.on("filterComplete", List.updatePagination);
 | 
			
		||||
jobList.on("searchComplete", List.updatePagination);
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<div id="new-corpus-modal" class="modal">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user