aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml/views/default/embed/web_services
diff options
context:
space:
mode:
Diffstat (limited to 'mod/ecml/views/default/embed/web_services')
-rw-r--r--mod/ecml/views/default/embed/web_services/content.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/ecml/views/default/embed/web_services/content.php b/mod/ecml/views/default/embed/web_services/content.php
index ecd023011..d47e655b6 100644
--- a/mod/ecml/views/default/embed/web_services/content.php
+++ b/mod/ecml/views/default/embed/web_services/content.php
@@ -57,7 +57,7 @@ echo "<div class='embed_content_section instructions hidden'><a class='ecml_embe
echo "<div id='embed_ecml_keyword_help' class='hidden'></div></div>";
echo "<div id='embed_service_url'><label>URL".$input."</label>";
-echo "<div class='ecml_generated_code'>ECML: <span id='ecml_code'></span></div></div>";
+echo "<div class='ecml_generated_code hidden'>ECML: <span id='ecml_code'></span></div></div>";
echo "<div class='embed_content_section preview hidden'><a class='ecml_embed_preview link'>Preview</a>";
echo "<div id='ecml_preview' class='hidden'></div></div>";
@@ -173,6 +173,7 @@ $(function() {
$('#ecml_code').html(data.ecml);
$('body').data('elgg_embed_ecml', data.ecml);
$('.embed_content_section.preview').removeClass('hidden'); // reveal preview link/panel
+ $('.ecml_generated_code').removeClass('hidden'); // reveal ecml generated code
// set status for embed button
embed_button.removeAttr('disabled').removeClass('embed_disabled').removeClass('embed_warning').addClass('embed_good');