From 83a940bb9e80126ead0de37d0d2d148521f171e6 Mon Sep 17 00:00:00 2001 From: Will Budic Date: Wed, 20 Sep 2023 20:07:25 +1000 Subject: [PATCH] upd. --- htdocs/cgi-bin/index.cnf | 5 ++++- htdocs/cgi-bin/login_ctr.cgi | 1 + htdocs/cgi-bin/wsrc/feeds.js | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/cgi-bin/index.cnf b/htdocs/cgi-bin/index.cnf index 500c868..4ca5f38 100644 --- a/htdocs/cgi-bin/index.cnf +++ b/htdocs/cgi-bin/index.cnf @@ -276,7 +276,7 @@ function loadDocResult(content){
Index
Life Log
- RRS Feeds + RSS Feeds >#> >div> @@ -311,6 +311,9 @@ function loadDocResult(content){ class="rz" [#[ RSS Here ]#] >div> + a> >div> + ); Settings::printDebugHTML($DBG) if Settings::debug(); diff --git a/htdocs/cgi-bin/wsrc/feeds.js b/htdocs/cgi-bin/wsrc/feeds.js index 0c6bde6..3ba7191 100644 --- a/htdocs/cgi-bin/wsrc/feeds.js +++ b/htdocs/cgi-bin/wsrc/feeds.js @@ -6,6 +6,7 @@ function fetchFeeds(){ ); pnl.show(); pnl.css('visibility','visible'); + $(document).scrollTop( $("#rss_anchor").offset().top ); $.post('CNFServices.cgi', {service:'feeds',action:'list'}, displayFeeds).fail( function(response) {pnl.html("Service Error: "+response.status,response.responseText);pnl.fadeOut(10000);} ); @@ -25,4 +26,5 @@ function displayFeeds(content){ var pnl = $('#feeds'); pnl.html(content); pnl.show(); + $(document).scrollTop( $("#rss_anchor").offset().top ); } -- 2.34.1