Hide password on js add page

master
vitalif 2011-10-17 19:13:00 +00:00
parent de65c08a34
commit 11e280dbbe
2 changed files with 4 additions and 2 deletions

View File

@ -577,7 +577,7 @@ function fof_render_feed_link($row)
$url = $row['feed_url'];
$s = "<b><a href=\"$link\" title=\"$description\">$title</a></b> ";
$s .= "<a href=\"$url\">(rss)</a>";
$s .= "<a href=\"$url\">(feed)</a>";
return $s;
}

4
fof.js
View File

@ -883,10 +883,12 @@ function continueupdate()
function continueadd()
{
var feed, f, m, dispUrl;
if(feed = feedi())
{
f = feed();
new Insertion.Bottom($('items'), 'Adding ' + f['url'] + "... ");
dispUrl = f['url'].replace(/^([a-z]+:\/\/[^\/]+:)([^\/]+)(@.*)$/, '$1******$3');
new Insertion.Bottom($('items'), 'Adding ' + dispUrl + "... ");
$('items').childElements().last().scrollTo();
parameters = 'url=' + encodeURIComponent(f['url']) + "&unread=" + document.addform.unread.value;