summaryrefslogtreecommitdiffstats
path: root/apps/tasks
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-06-11 17:38:40 +0200
committerBart Visscher <bartv@thisnet.nl>2012-06-11 20:34:06 +0200
commit759ddcbf32d4b6b9149b9c03259408933448c129 (patch)
tree72f85769c632a22f25d93d0c888594e1560a18d8 /apps/tasks
parent0eee140eafd128190aab6fce85ae4fb357e18f73 (diff)
downloadnextcloud-server-759ddcbf32d4b6b9149b9c03259408933448c129.tar.gz
nextcloud-server-759ddcbf32d4b6b9149b9c03259408933448c129.zip
Tasks: Fix resizing of the content part
Diffstat (limited to 'apps/tasks')
-rw-r--r--apps/tasks/js/tasks.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/tasks/js/tasks.js b/apps/tasks/js/tasks.js
index d1e3a9969b4..6547b80981c 100644
--- a/apps/tasks/js/tasks.js
+++ b/apps/tasks/js/tasks.js
@@ -310,8 +310,11 @@ OC.Tasks = {
};
$(document).ready(function(){
- fillHeight($('#tasks_lists'));
- fillWindow($('#tasks_list'));
+ $(window).resize(function () {
+ fillHeight($('#tasks_lists'));
+ fillWindow($('#tasks_list'));
+ });
+ $(window).trigger('resize');
/*-------------------------------------------------------------------------
* Actions for startup