Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| vendors:cisco:wxcc:widgets [2026/02/25 18:01] – [Change RONA V2] gerardorourke | vendors:cisco:wxcc:widgets [2026/02/26 11:19] (current) – gerardorourke | ||
|---|---|---|---|
| Line 159: | Line 159: | ||
| * Note - As the user logs in the widget the widget loads, it then pauses for 15 seconds before loading the rest of the code. If the agent has NOT completed login by this time (i.e. if the user does not complete login by confirming their team / extension), the events to catch the RONA events do not trigger and the gadget does not work as intended. | * Note - As the user logs in the widget the widget loads, it then pauses for 15 seconds before loading the rest of the code. If the agent has NOT completed login by this time (i.e. if the user does not complete login by confirming their team / extension), the events to catch the RONA events do not trigger and the gadget does not work as intended. | ||
| - | **Package: | + | **Package: |
| *download above and to run locally (http:// | *download above and to run locally (http:// | ||
| *npm install | *npm install | ||
| Line 167: | Line 167: | ||
| <file JavaScript change-rona.js> | <file JavaScript change-rona.js> | ||
| + | /* | ||
| /* | /* | ||
| Update on Sample Gadget provided by Aashish Berry (aaberry) - https:// | Update on Sample Gadget provided by Aashish Berry (aaberry) - https:// | ||
| Line 209: | Line 210: | ||
| if (this.delaySeconds) { | if (this.delaySeconds) { | ||
| - | logger.info(' | + | logger.info(' |
| this.delaySeconds = this.delaySeconds * 1000; | this.delaySeconds = this.delaySeconds * 1000; | ||
| } | } | ||