I have a custom button in Activity homepage grid ribbon. I have an enable rule that calls a Javascript function. This rule doesn't seem to be working - it's not calling the Javascript function, I've put an alert to verify this. When I test my javascript function by calling from a Form OnLoad, everything looks fine.
So i'm guessing that the Homepage ribbon is not loading the js library somehow ? Has anyone come across this before ? Please help.
<EnableRule Id="RRM.activitypointer.HomepageGrid.RunReport">
<CustomRule Library="RRM_/Script/Common/Main.js" FuncionName="RRM.Common.enableRunReport"></CustomRule>
</EnableRule>