summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/templates/sidebar.block.linked.php3
-rw-r--r--www/ajax/getlinkedtags.php1
2 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/sidebar.block.linked.php b/data/templates/sidebar.block.linked.php
index 54e9260..ac864dc 100644
--- a/data/templates/sidebar.block.linked.php
+++ b/data/templates/sidebar.block.linked.php
@@ -30,10 +30,11 @@ if ($editingMode) {
echo '</p>';
}
?>
+ <div id="related-content" />
<script type="text/javascript" src="<?php echo ROOT ?>js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="<?php echo ROOT ?>js/jquery.jstree.js"></script>
<script type="text/javascript"><![CDATA[
-jQuery("#related")
+jQuery("#related-content")
.jstree({
"themes" : {
"theme": "default",
diff --git a/www/ajax/getlinkedtags.php b/www/ajax/getlinkedtags.php
index 307ee26..d8ddb5b 100644
--- a/www/ajax/getlinkedtags.php
+++ b/www/ajax/getlinkedtags.php
@@ -26,7 +26,6 @@
* @link http://sourceforge.net/projects/semanticscuttle
*/
$httpContentType = 'application/json';
-#$httpContentType = 'text/plain';
require_once '../www-header.php';
$tag = isset($_GET['tag']) ? $_GET['tag'] : null;