Skip to content
Snippets Groups Projects
Commit f09da4d5 authored by Tomasz Wolniewicz's avatar Tomasz Wolniewicz
Browse files

fixing positioning problem of the details window

parent 24c8021f
No related branches found
No related tags found
3 merge requests!3Align master branch with twoln-dev,!2Synchronising towards version 2.5,!1Twoln dev
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
......@@ -19,7 +19,6 @@ $(function(){
$(".entity_links").css('font-weight','normal');
$("#entity_details_content").html("");
},
position: { my: "left top", at: "left+50 top+50", of : window }
});
});
......@@ -247,12 +246,12 @@ function show_details(id,next,prev) {
$(".entity_links").css('color','#336699');
$(".entity_links").css('font-weight','normal');
$("#link_"+id).css('color','green');
$("#link_"+id).css('font-weight','bold');
$.get("api.php",{action: 'show_entity_details', row_id: id, format: 'html'}, function(data) {
$.get("api.php",{action: 'show_entity_details', row_id: id, format: 'html', opt: 'internal'}, function(data) {
$("#loading").hide();
$("body").removeClass("busy");
$("#link_"+id).removeClass("busy");
$("#entity_details").dialog("open");
$("#entity_details").parent().css("top", $(window).scrollTop()+30);
$("#entity_details_content").html(data);
if(coco_id != 0)
$("#show_coco").show();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment