aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/existing.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-07-09 13:16:27 +0100
committerStruan Donald <struan@exo.org.uk>2013-07-09 13:16:27 +0100
commitdfd1f778e2bbf97888b1a8a14b97786ceb62e698 (patch)
tree093f28d1cc3e5d0af987d41d35fadf37a9d54022 /www/js/views/existing.js
parent5c644fd9f2a6317df50dbbd37d7a14e4c76a2fd8 (diff)
set existing page height using minimum height
Diffstat (limited to 'www/js/views/existing.js')
-rw-r--r--www/js/views/existing.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/js/views/existing.js b/www/js/views/existing.js
index 21a3404..0d16760 100644
--- a/www/js/views/existing.js
+++ b/www/js/views/existing.js
@@ -13,6 +13,10 @@
'vclick #discard': 'discardReport'
},
+ setHeight: function(content, height) {
+ content.css( 'min-height', content + 'px');
+ },
+
useReport: function(e) {
e.preventDefault();
FMS.setCurrentDraft(this.model);