I've added all.js in a script tag locally and its throwing this error
all-debug.js:2615 Uncaught TypeError: Object.defineProperty called on non-object at Function.defineProperty (<anonymous>) at all-debug.js:2615 at all-debug.js:2963
this is where 2615 line leads to
/** * Returns the custom data Object passed to the dialog at creation. * @noDemo * @deprecated after August 2017 | Please use the `dialog.getCustomData(callback)` instead. * @name customData * @memberOf module:Dialog * @example * var myDataVariable = AP.dialog.customData.myDataVariable; * * @return {Object} Data Object passed to the dialog on creation. */ Object.defineProperty(AP$2._hostModules.dialog, 'customData', { get: getCustomData }); Object.defineProperty(AP$2.dialog, 'customData', { get: getCustomData });
I am seeing the exact same issue with JIRA Cloud and I've verified that all.js is getting loaded from the proper instance URL.
Seeing the same exception being thrown as the original poster happening when all.js gets loaded and AP is never created.
This is an absolute show-stopper for us.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.