ravenlp 16 년 전
부모
커밋
8a4875d9e1
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      admin/scripts/tools.js

+ 11 - 0
admin/scripts/tools.js 파일 보기

@@ -33,4 +33,15 @@ function verifyExistingUser() {
33 33
 	return false;
34 34
 }
35 35
 
36
+function selectFeedType(feed_url,username){
37
+		var source = $('source');
38
+		if(source.selectedIndex != 0){
39
+			$('import_as').style.display="none";
40
+			$('url_label').firstChild.nodeValue = source[source.selectedIndex].firstChild.nodeValue + username;
41
+		}else{
42
+			$('import_as').style.display="block";
43
+			$('url_label').firstChild.nodeValue = feed_url;
44
+		}
45
+}
46
+
36 47
 //-->