From f6d40ed212f2e767b44aa916ea957d86a4aeba4d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 12 Jan 2008 13:05:29 +0100 Subject: js: make displayHelpInfobox() globally accessible --- functions.js | 8 ++++++++ prefs.js | 12 ------------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/functions.js b/functions.js index 93c080dbc..3bed4f895 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 e64d51173..56de40ad3 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)) { -- cgit v1.2.3