Failed to execute template. Cause: [Access denied when checking [script] access to [xwiki:Collaboratory.UX.HbpSkin.WebHome] for user [xwiki:XWiki.Admin]]. Click on this message for details.

CLB Search Component - HBP Wiki

IAM21 instance, do not create collab nor modify a team, your changes will be lost


Changes for page CLB Search Component

Last modified by bougault on 2023/01/17 11:42

From version 7.4
edited by bougault
on 2023/01/13 13:42
Change comment: There is no comment for this version
To version 7.6
edited by bougault
on 2023/01/13 13:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -52,7 +52,7 @@
52 52   }
53 53  
54 54   get searchButton() {
55 - return this.$('#button');
55 + return this.$('#search');
56 56   }
57 57  
58 58  
... ... @@ -67,7 +67,7 @@
67 67   `);
68 68   }
69 69  
70 - renderResults(results) {
70 + renderResults = (results) => {
71 71   const resultsContainer = this.$('#results');
72 72   resultsContainer.replaceChildren();
73 73   for(let i = 0, j = results.length; i < j; i++) {