From 52e65759bd8cd776b0b345910e182d29b7946879 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 13 Oct 2010 19:18:42 +0200 Subject: make linked tags work on opera - "parent" is apparently a reserved word --- data/templates/sidebar.block.linked.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'data') diff --git a/data/templates/sidebar.block.linked.php b/data/templates/sidebar.block.linked.php index 558059d..199cf4c 100644 --- a/data/templates/sidebar.block.linked.php +++ b/data/templates/sidebar.block.linked.php @@ -44,16 +44,18 @@ jQuery("#related-content") "ajax" : { "url": function(node) { //-1 is root - parent = ""; + parentparam = ""; if (node == -1 ) { node = ; - parent = "&parent=true"; + parentparam = "&parent=true"; } else if (node.attr('rel')) { node = node.attr('rel'); } else { return; } - return "ajax/getlinkedtags.php?tag=" + node + parent; + + return "ajax/getlinkedtags.php?tag=" + node + + parentparam; } } }, -- cgit v1.2.3