From: Andrew Dolgov Date: Fri, 10 Aug 2007 05:52:11 +0000 (+0100) Subject: article_publish_url: syntax fix X-Git-Tag: 1.2.14~96 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=17a756d1932dd00f8ba6fc2eba63f01712669409;p=tt-rss.git article_publish_url: syntax fix --- diff --git a/functions.php b/functions.php index eb14f52e..51c2dd17 100644 --- a/functions.php +++ b/functions.php @@ -4216,8 +4216,7 @@ function article_publish_url($link) { - $url_path = 'http://' . $_SERVER["HTTP_HOST"] . \ - parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH); + $url_path = 'http://' . $_SERVER["HTTP_HOST"] . parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH); $url_path .= "?op=publish&key=" . get_pref($link, "_PREFS_PUBLISH_KEY"); diff --git a/tt-rss.js b/tt-rss.js index 1a459052..cf68a0f5 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -27,6 +27,10 @@ function tagsAreDisplayed() { function toggleTags(show_all) { + try { + + debug("toggleTags: " + show_all + "; " + display_tags); + var p = document.getElementById("dispSwitchPrompt"); if (!show_all && !display_tags) { @@ -43,6 +47,10 @@ function toggleTags(show_all) { notify_progress("Loading, please wait...", true); updateFeedList(); } + + } catch (e) { + exception_error("toggleTags", e); + } } function dlg_frefresh_callback() {