diff options
author | Andrew Dolgov <[email protected]> | 2007-08-10 06:52:11 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-10 06:52:11 +0100 |
commit | 17a756d1932dd00f8ba6fc2eba63f01712669409 (patch) | |
tree | 35da90bba4e798856726c849d296572298b76ec0 | |
parent | 6af274f68dc65f6601b70302eb3f79a73a77ae88 (diff) |
article_publish_url: syntax fix
-rw-r--r-- | functions.php | 3 | ||||
-rw-r--r-- | tt-rss.js | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/functions.php b/functions.php index eb14f52e5..51c2dd17e 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"); @@ -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() { |