js: make displayHelpInfobox() globally accessible

This commit is contained in:
Andrew Dolgov 2008-01-12 13:05:29 +01:00
parent b44d8c5147
commit f6d40ed212
2 changed files with 8 additions and 12 deletions

View 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;
}

View File

@ -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)) {