From 269154e29e93e01807a8f20ce08a0dec698b53c9 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sat, 14 Jun 2008 16:42:18 +0200 Subject: [PATCH] No RSS popup when the link points the RSS activation form. Signed-off-by: Florent Bruneau --- htdocs/javascript/xorg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/javascript/xorg.js b/htdocs/javascript/xorg.js index e4f7b36..f82cc9f 100644 --- a/htdocs/javascript/xorg.js +++ b/htdocs/javascript/xorg.js @@ -160,7 +160,7 @@ function popWin(theNode,w,h) { function goodiesPopup(node) { if (node.href.indexOf('ical') > -1) { __goodies_popup(node, __goodies_ical_sites, 'Calendrier iCal'); - } else if (node.href.indexOf('rss') > -1 && (node.href.indexOf('xml') > -1 || node.href.indexOf('hash'))) { + } else if (node.href.indexOf('rss') > -1 && node.href.indexOf('prefs/rss') < 0 && (node.href.indexOf('xml') > -1 || node.href.indexOf('hash'))) { __goodies_popup(node, __goodies_rss_sites, 'Fil rss'); } } -- 2.1.4