Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Evolveum/midpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Jan 28, 2022
2 parents 38636da + 8a59d78 commit 0d75464
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<div wicket:id="debugPanel" style="z-index: 10000;"/>
</section>
</div>
<footer wicket:id="footerContainer" class="main-footer">
<footer wicket:id="footerContainer" class="main-footer" style="height: 50px;">
<div class="pull-right hidden-xs" wicket:id="version">
<b><wicket:message key="PageTemplate.version"/></b> <wicket:message key="midpoint.system.build"/>
</div>
Expand Down
19 changes: 0 additions & 19 deletions gui/admin-gui/src/main/resources/static/js/midpoint-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ $(window).on('load', function() {
console.error("Ajax call failure:\n" + JSON.stringify(attrs.target.location)
+ "\nStatus:\n" + JSON.stringify(textStatus));
});

fixContentHeight();
$(window, ".wrapper").resize(function () {
fixContentHeight();
});
});

// $(document).ready(function() {
Expand All @@ -30,20 +25,6 @@ $(window).on('load', function() {
// });
// });

// I'm not sure why sidebar has 15px padding -> and why I had to use 10px constant here [lazyman]
function fixContentHeight() {
if ($(".main-footer").length > 0) {
return;
}

var window_height = $(window).height();
var sidebar_height = $(".sidebar").height() || 0;

if (window_height < sidebar_height) {
$(".content-wrapper, .right-side").css('min-height', sidebar_height + 10); // footer size
}
}

function clickFuncWicket6(eventData) {
var clickedElement = (window.event) ? event.srcElement : eventData.target;
if ((clickedElement.tagName.toUpperCase() == 'BUTTON'
Expand Down

0 comments on commit 0d75464

Please sign in to comment.