Saltbox / wordpress-lti-consumer

Use Wordpress as an LTI Consumer to launch remote learning content
GNU General Public License v3.0
17 stars 11 forks source link

iframe content not appearing when shortcode applied to admin-side dashboard widget #10

Closed pascallaliberte closed 10 years ago

pascallaliberte commented 10 years ago

When using the iframe shortcode in the output of an admin-side dashboard widget, the iframe is created but nothing is displayed inside the iframe.

It looks like the launch.js script isn't referenced on the admin-side, which is needed for the form (preceding the iframe) to have its parameters posted to the iframe.

Here's some code to create an admin-side dashboard widget (OAuth keys removed): https://gist.github.com/pascallaliberte/d86ef047f2c064f3717d

Documentation on creating dashboard widgets: http://codex.wordpress.org/Dashboard_Widgets_API

fugu13 commented 10 years ago

I've merged a change to the plugin that should fix this, could you redownload and verify?

pascallaliberte commented 10 years ago

That fixed the problem