08/23/2017 at 12:55 pm #10780

Larus Thor Johannsson
Participant
I found it, it is a QuickApps bug. You are not escaping ‘ characters inserted into all parameters. So the generated js file included this:
<div>
<div>else if (commandId === Ribbon.Quest.Actions.WebPartWPQ2.CustomActionRibbonGroup.Go to CAPA\u0027s’)</div>
<div>{</div>
<div> _spFormOnSubmitCalled=false;</div>
<div> __doPostBack(‘ctl00$ctl33$g_965cd9e0_5b9a_4729_8ca1_f1c3b5d32e24’, ‘CustomActionGo to CAPA\’s’);</div>
<div> SP.UI.Notify.addNotification(‘Process action: Go to CAPA’s’);;</div>
<div>}</div>
</div>
<div>You are welcome to reach out to me for further information.</div>