Author: benj
Date: Sat Feb 7 17:53:01 2015
New Revision: 1643
URL: http://svn.gna.org/viewcvs/gdtc?rev=1643&view=rev
Log:
Scroll
Modified:
trunk/gdtc/templates/smarty/admin/dtcsync-show.tpl
Modified: trunk/gdtc/templates/smarty/admin/dtcsync-show.tpl
URL:
http://svn.gna.org/viewcvs/gdtc/trunk/gdtc/templates/smarty/admin/dtcsync-show.tpl?rev=1643&r1=1642&r2=1643&view=diff
==============================================================================
--- trunk/gdtc/templates/smarty/admin/dtcsync-show.tpl (original)
+++ trunk/gdtc/templates/smarty/admin/dtcsync-show.tpl Sat Feb 7 17:53:01 2015
@@ -34,6 +34,7 @@
console.log(data['content']);
whole = whole + data['content'];
$("#results").html(whole);
+ $("html, body").animate({ scrollTop:
$(document).height()-$(window).height() });
if ( data [ 'content' ] . indexOf ('*** FIN ***') != -1 )
{
clearInterval ( interval );
_______________________________________________
Gdtc-commits mailing list
[email protected]
https://mail.gna.org/listinfo/gdtc-commits