From: Florent Bruneau Date: Sat, 14 Jun 2008 14:42:18 +0000 (+0200) Subject: No RSS popup when the link points the RSS activation form. X-Git-Tag: core/1.0.0~112 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=269154e29e93e01807a8f20ce08a0dec698b53c9;p=platal.git No RSS popup when the link points the RSS activation form. Signed-off-by: Florent Bruneau --- 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'); } }