I'm trying to attach a script to a standard form - following steps here: http://msdn.microsoft.com/en-us/library/gg594433.aspx
I am able to upload script as Web Resource and reference it in form properties. But I am not able to configure an event handler to call any function. When I try to add an event handler, I can't reference a script library (the Library dropdown list is empty) and it's not possible to submit the dialog without this reference. When I close the Handler Properties - Webpage Dialog, it throws an error. I experienced the very same behavior on both Online and On-Premise deployments (version 2015).
Here are some screenshots.
Please advice what am I supposed to do to be able to attach scripts to forms as it is quite important to our clients.
Thank you
*This post is locked for comments