Closed nsteinfeld closed 9 years ago
hmm - what browser are you using (if unsure you can visit http://supportdetails.net/ )
It happens in the three browsers I tested: Chrome 45.0, Safari 8, and Firefox 40.0. The error message I pasted in my last comment was from Chrome. I get the same error message in the Safari browser console. I don't get that error in Firefox, but the following warning:
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. issuer.js:7:0
Here is a screenshot:
replicated identified issue to this line https://github.com/mhawksey/open-badges-issuer-addon/blob/master/open-badges-issuer-addon.php#L100
instead of
wp_register_script( 'mozilla-issuer-api', '//backpack.openbadges.org/issuer.js', array('badgeos-backpack'), null );
it needs to be
wp_register_script( 'mozilla-issuer-api', 'https://backpack.openbadges.org/issuer.js', array('badgeos-backpack'), null );
Just testing nothing else is at fault and then I'll push an update
Fix also pushed to wordpress.org/plugins. If still issues I can reopen. Thanks :)
When I click the "Send to Mozilla Backpack" button regardless of the badge was admin-awarded or a submission. The iframe with the Mozilla backpack modal is displayed, but the page is blank and I can't use the x to close the iframe. I get the following errors in the browser error log:
Example service end point for assertion:
I also posted in the support thread for the plugin: https://wordpress.org/support/topic/mozilla-backpack-iframe-is-blank-and-cant-be-closed?replies=2#post-7488991