]> git.wh0rd.org Git - tt-rss.git/commitdiff
js: make displayHelpInfobox() globally accessible
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 12 Jan 2008 12:05:29 +0000 (13:05 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 12 Jan 2008 12:05:29 +0000 (13:05 +0100)
functions.js
prefs.js

index 93c080dbc21f7cd8758a18ee51ad6b9e3dfc2e75..3bed4f8951cb0592c9a1a1acbf44b6ca84d1c3e3 100644 (file)
@@ -1731,4 +1731,12 @@ function getSelectedArticleIds2() {
        return ids;
 }
 
+function displayHelpInfobox(topic_id) {
 
+       var url = "backend.php?op=help&tid=" + param_escape(topic_id);
+
+       var w = window.open(url, "ttrss_help", 
+               "status=0,toolbar=0,location=0,width=450,height=500,scrollbars=1,menubar=0");
+
+       return false;
+}
index e64d51173b7774f12564dc4b8591d1f0e2c072c1..56de40ad3dee02512107264fc632f378f46c2b33 100644 (file)
--- a/prefs.js
+++ b/prefs.js
@@ -856,18 +856,6 @@ function feedCatEditSave() {
        return false;
 }
 
-
-
-function displayHelpInfobox(topic_id) {
-
-       var url = "backend.php?op=help&tid=" + param_escape(topic_id);
-
-       var w = window.open(url, "ttrss_help", 
-               "status=0,toolbar=0,location=0,width=450,height=500,scrollbars=1,menubar=0");
-
-       return false;
-}
-
 function labelEditCancel() {
 
        if (!xmlhttp_ready(xmlhttp)) {