Hi,
We have been developing Sharepoint 2013 ribbon extension (CustomAction).
An extra button within the ribbon which is enabled based on certain conditions (e.g. privileges).
We implemented these conditions within a separate js file which implements a method. EnableDisable().
We declare the function within the elements.xml as
EnabledScript="javascript:EnableDisable();"
The script is declared as
ScriptSrc="/_layouts/15/Scripts/enable.js"
via an separate custom action with Loctation="ScriptLink"
When I test the functionality all works fine within Chrome and Firefox, but the code is not triggered from IE (tested with IE 8, 9 and 10). To test I simple added an alert to the first line of the js method but I never see this alert in IE, so it seems the code is never called.
Does someone have an idea of this issue?
Regards
Maurice Martin