aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml/views/default/embed
diff options
context:
space:
mode:
Diffstat (limited to 'mod/ecml/views/default/embed')
-rw-r--r--mod/ecml/views/default/embed/web_services/content.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/ecml/views/default/embed/web_services/content.php b/mod/ecml/views/default/embed/web_services/content.php
index 125da80a2..cfe9fccf5 100644
--- a/mod/ecml/views/default/embed/web_services/content.php
+++ b/mod/ecml/views/default/embed/web_services/content.php
@@ -92,8 +92,8 @@ $(function() {
// counter for paused input to try to validate/generate a preview.
var rest_timeout_id = null;
var rest_min_time = 750;
- var embed_generate_ecml_url = '<?php echo $vars['url']; ?>pg/ecml_generate';
- var embed_ecml_keyword_help_url = '<?php echo $vars['url']; ?>pg/ecml/';
+ var embed_generate_ecml_url = '<?php echo elgg_get_site_url(); ?>pg/ecml_generate';
+ var embed_ecml_keyword_help_url = '<?php echo elgg_get_site_url(); ?>pg/ecml/';
var internal_name = '<?php echo addslashes($internal_name); ?>';
var web_services_ecml_update = function() {