Skip to content
Snippets Groups Projects
Commit 3ed9486a authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

Fix Utilbox-Action's DIV position for popups

Fix Utilbox-Action's DIV position for popups
When it is a popup position is fixed at the middle of the page.
parent da206146
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,17 @@ ...@@ -134,7 +134,17 @@
<td rowspan="${fn:length(data)}" class="utilbox" valign="top"> <td rowspan="${fn:length(data)}" class="utilbox" valign="top">
<div class="utilbox-actions"> <div class="utilbox-actions" id="id_utilbox-actions">
<script type="text/javascript">
$(document).ready(function(e){
if ($('#id_utilbox-actions')){
if ( $('.dijitDialogTitleBar').length ){
$('#id_utilbox-actions').css({ top: ($(window).height()/2) });
}
}
});
</script>
<spring:url value="/resources/images/show.png" var="show_image_url" /> <spring:url value="/resources/images/show.png" var="show_image_url" />
<spring:message arguments="${typeName}" code="entity_show" var="show_label" htmlEscape="false" /> <spring:message arguments="${typeName}" code="entity_show" var="show_label" htmlEscape="false" />
...@@ -191,6 +201,7 @@ ...@@ -191,6 +201,7 @@
</div> </div>
</td> </td>
<c:set var="control" value="false" /> <c:set var="control" value="false" />
</c:if> </c:if>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment