From 9ccf7873d47c7990bc1e01d5095554e3b9e23134 Mon Sep 17 00:00:00 2001 From: mensonge Date: Mon, 2 Feb 2009 14:37:05 +0000 Subject: Bug fix: correct dojo tree bug into IE6 git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@241 b3834d28-1941-0410-a4f8-b48e95affb8f --- ajax/getlinkedtags.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ajax/getlinkedtags.php') diff --git a/ajax/getlinkedtags.php b/ajax/getlinkedtags.php index c4110a2..a34805b 100644 --- a/ajax/getlinkedtags.php +++ b/ajax/getlinkedtags.php @@ -45,6 +45,7 @@ function displayTag($tag, $uId) { foreach($linkedTags as $linkedTag) { $output.= displayTag($linkedTag, $uId); } + $output = substr($output, 0, -1); // remove final comma avoiding IE6 Dojo bug $output.= "]"; } @@ -56,6 +57,8 @@ function displayTag($tag, $uId) { { label: 'name', identifier: 'id', items: [ ] } -- cgit v1.2.3-54-g00ecf