Changes for page Wörterbuch

Last modified by Beachvolleypedia Administrator on 2021/12/30 17:50

From version 5.1
edited by Beachvolleypedia Administrator
on 2021/06/07 18:07
Change comment: There is no comment for this version
To version 6.1
edited by Beachvolleypedia Administrator
on 2021/06/07 18:23
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +forbid
Code
... ... @@ -1,0 +1,14 @@
1 +var setFilter = function(col, val)
2 +{
3 + document.getElementById("xwiki-livetable-allterms-filter-1").value = '';
4 + document.getElementById("xwiki-livetable-allterms-filter-2").value = '';
5 + document.getElementById("xwiki-livetable-allterms-filter-3").value = '';
6 + document.getElementById("xwiki-livetable-allterms-filter-4").value = '';
7 + $(col).value = val.trim();
8 + // Create a new 'change' event
9 + var chevent = new Event('change');
10 + var kuevent = new Event('keyup');
11 + // Dispatch it.
12 + $(col).dispatchEvent(chevent);
13 + $(col).dispatchEvent(kuevent);
14 +};
Name
... ... @@ -1,0 +1,1 @@
1 +TermLiveTableFilterUpdate
Use this extension
... ... @@ -1,0 +1,1 @@
1 +currentPage