|
@@ -35,9 +35,9 @@ $(document).ready(function() {
|
|
|
$.ajax({
|
|
|
contentType: "application/x-www-form-urlencoded",
|
|
|
beforeSend: function(objeto) {
|
|
|
- $("div#"+div_content_id).html("<img src=\'http://"+location.host+"/main/inc/lib/javascript/indicator.gif\' />"); },
|
|
|
+ $("div#"+div_content_id).html("<img src="+my_protocol+"//"+location.host+"/main/inc/lib/javascript/indicator.gif />"); },
|
|
|
type: "POST",
|
|
|
- url: "http://"+location.host+"/main/glossary/glossary_ajax_request.php",
|
|
|
+ url: my_protocol+"//"+location.host+"/main/glossary/glossary_ajax_request.php",
|
|
|
data: "glossary_id="+my_glossary_id,
|
|
|
success: function(datos) {
|
|
|
$("div#"+div_content_id).html(datos);
|