Hi,
I made a custom new ribbon workbench button and linked it to my webresource, and within this webresource there are many JS functions.
The strange problem I am facing now is that there is one JS function that does not seem to work while all others in the same file do.
The one that is not working is something very simple (I literally just changed it to a one liner console.log() statement to test it).
To explain with an example:
For example, let's say my webresource has 3 functions, functionA, functionB, and functionC (all inside the same webresource file, literally right next to each other)
In my ribbon workbench, if I map the custom JS action to functionA, it works fine, and if I map it to functionB, nothing happens at all when I click the button, and if I map it to functionC, it works fine.
In this example, functionB is just a simple console.log statement, and copying that function into functionA or functionC would both work correctly. And it's ONLY functionB that doesn't seem to respond at all.
Please advise.