From 8a4875d9e191aa2e557f191e51f3901762fec646 Mon Sep 17 00:00:00 2001 From: ravenlp Date: Mon, 8 Oct 2007 05:03:12 +0000 Subject: [PATCH] --- admin/scripts/tools.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/admin/scripts/tools.js b/admin/scripts/tools.js index a6b4e40..18eb605 100644 --- a/admin/scripts/tools.js +++ b/admin/scripts/tools.js @@ -33,4 +33,15 @@ function verifyExistingUser() { return false; } +function selectFeedType(feed_url,username){ + var source = $('source'); + if(source.selectedIndex != 0){ + $('import_as').style.display="none"; + $('url_label').firstChild.nodeValue = source[source.selectedIndex].firstChild.nodeValue + username; + }else{ + $('import_as').style.display="block"; + $('url_label').firstChild.nodeValue = feed_url; + } +} + //--> \ No newline at end of file