From ad17b43ec85dee00437a8da01e970344d1f6c25c Mon Sep 17 00:00:00 2001
From: Efthymia Bika <ey8ymia@grnet.gr>
Date: Wed, 10 Feb 2016 12:19:59 +0200
Subject: [PATCH] Scroll body to show msg div

---
 baas/dup_calls.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/baas/dup_calls.js b/baas/dup_calls.js
index b304ad8..522f473 100644
--- a/baas/dup_calls.js
+++ b/baas/dup_calls.js
@@ -221,6 +221,8 @@ function call_duplicity(mode, backup_set, force) {
 
     // call duplicity
     var wProcess = spawn(DUPLICITY_PATH, args);
+    $("html,body").animate(
+            {scrollTop: $("#msg").offset().top}, "slow");
 
     var output_str = "";
     function dup_call_out(data) {
-- 
GitLab