|
|
|
@ -1819,9 +1819,9 @@ function attach_glossary_into_scorm(type) { |
|
|
|
$.ajax({ |
|
|
|
$.ajax({ |
|
|
|
contentType: "application/x-www-form-urlencoded", |
|
|
|
contentType: "application/x-www-form-urlencoded", |
|
|
|
beforeSend: function(content_object) { |
|
|
|
beforeSend: function(content_object) { |
|
|
|
$("iframe").contents().find("div#"+div_content_id).html("<img src="+my_protocol+"//"+location.host+work_path+"/main/inc/lib/javascript/indicator.gif />"); }, |
|
|
|
$("iframe").contents().find("div#"+div_content_id).html("<img src='<?php echo api_get_path(WEB_PATH); ?>main/inc/lib/javascript/indicator.gif' />"); },
|
|
|
|
type: "POST", |
|
|
|
type: "POST", |
|
|
|
url: my_protocol+"//"+location.host+work_path+"/main/glossary/glossary_ajax_request.php", |
|
|
|
url: "<?php echo api_get_path(WEB_PATH); ?>/main/glossary/glossary_ajax_request.php",
|
|
|
|
data: "glossary_id="+my_glossary_id, |
|
|
|
data: "glossary_id="+my_glossary_id, |
|
|
|
success: function(datas) { |
|
|
|
success: function(datas) { |
|
|
|
$("iframe").contents().find("div#"+div_content_id).html(datas); |
|
|
|
$("iframe").contents().find("div#"+div_content_id).html(datas); |
|
|
|
@ -1854,9 +1854,9 @@ function attach_glossary_into_scorm(type) { |
|
|
|
$.ajax({ |
|
|
|
$.ajax({ |
|
|
|
contentType: "application/x-www-form-urlencoded", |
|
|
|
contentType: "application/x-www-form-urlencoded", |
|
|
|
beforeSend: function(objeto) { |
|
|
|
beforeSend: function(objeto) { |
|
|
|
$("iframe").contents().find("div#"+div_content_id).html("<img src="+my_protocol+"//"+location.host+work_path+"/main/inc/lib/javascript/indicator.gif />"); }, |
|
|
|
$("iframe").contents().find("<img src='<?php echo api_get_path(WEB_PATH); ?>main/inc/lib/javascript/indicator.gif' />"); },
|
|
|
|
type: "POST", |
|
|
|
type: "POST", |
|
|
|
url: my_protocol+"//"+location.host+work_path+"/main/glossary/glossary_ajax_request.php", |
|
|
|
url: "<?php echo api_get_path(WEB_PATH); ?>/main/glossary/glossary_ajax_request.php",
|
|
|
|
data: "glossary_name="+is_glossary_name, |
|
|
|
data: "glossary_name="+is_glossary_name, |
|
|
|
success: function(datos) { |
|
|
|
success: function(datos) { |
|
|
|
$("iframe").contents().find("div#"+div_content_id).html(datos); |
|
|
|
$("iframe").contents().find("div#"+div_content_id).html(datos); |
|
|
|
|