From: Andrew Dolgov Date: Sat, 12 Jan 2008 12:05:29 +0000 (+0100) Subject: js: make displayHelpInfobox() globally accessible X-Git-Tag: 1.2.19~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f6d40ed212f2e767b44aa916ea957d86a4aeba4d;p=tt-rss.git js: make displayHelpInfobox() globally accessible --- diff --git a/functions.js b/functions.js index 93c080db..3bed4f89 100644 --- a/functions.js +++ b/functions.js @@ -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; +} diff --git a/prefs.js b/prefs.js index e64d5117..56de40ad 100644 --- 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)) {