Id: | 21280 |
Product: | finPOWER Connect |
Type: | FIX |
Version: | 4.01.00 |
Opened: | 14/06/2023 |
Closed: | 13/03/2024 |
Released: | 29/04/2024 |
Job: | J031302 |
HTML Widgets; Template Text editor; Intellisense, particularly for the "C" object used to contain control references, would sometimes not work
When editing an HTML Widget's Template Text, finPOWER Connect provides addition intellisense Widget objects and, in particular, the "C" object which is used in most system-supplied Widgets to hold references to all of the Widget's controls, e.g.:
// Controls
var C = {
lblReleaseVersion: null,
cboVersion: null,
dateReleased: null,
lblSystems: null,
chkReleasefinC: null,
chkReleasefinWS: null,
chkReleasefinCC: null,
divReleaseInfo: null,
lblNextRelease: null,
dateNextRelease: null,
}
The allows the User to press "C." and a list of the various controls would be displayed to select from.
However, under certain circumstances, this would not work.
This was due to another variable ending in the intellisense variable's name being defined closer (above), e.g., using the above example, the following would have worked at point A but not at point B:
// A - works
TestC = {
caption: "test",
value: 123
}
// B - does not work
Prior to this fix, typing "C." at point B would have presented a listed containing two items: "caption" and "value".
This issue has now been resolved.