From 68a3c49ae3eee9563ec050126dc62587c8c40673 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 28 Jul 2015 03:02:35 -0400 Subject: [PATCH] Fix full height calculation. --- mayan/apps/appearance/templates/appearance/base.html | 2 +- mayan/apps/documents/widgets.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mayan/apps/appearance/templates/appearance/base.html b/mayan/apps/appearance/templates/appearance/base.html index f1d3062bf6..f78aaf7d98 100644 --- a/mayan/apps/appearance/templates/appearance/base.html +++ b/mayan/apps/appearance/templates/appearance/base.html @@ -297,7 +297,7 @@ 'use strict'; function resizeFullHeight() { - $('.full-height').height($(window).height() - $('.full-height').data('heightDifference')); + $('.full-height').height($(window).height() - $('.full-height').data('height-difference')); } function set_image_noninteractive(image) { diff --git a/mayan/apps/documents/widgets.py b/mayan/apps/documents/widgets.py index a0d3dcbb9b..dbdf1bbb39 100644 --- a/mayan/apps/documents/widgets.py +++ b/mayan/apps/documents/widgets.py @@ -43,7 +43,7 @@ class DocumentPagesCarouselWidget(forms.widgets.Widget): output = [] output.append( '