aboutsummaryrefslogtreecommitdiff
path: root/ajax
diff options
context:
space:
mode:
Diffstat (limited to 'ajax')
-rw-r--r--ajax/getlinkedtags.php5
1 files changed, 4 insertions, 1 deletions
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: [
<?php
-echo displayTag(GET_TAG, GET_UID);
+$json = displayTag(GET_TAG, GET_UID);
+$json = substr($json, 0, -1); // remove final comma avoiding IE6 Dojo bug
+echo $json;
?>
] }