diff options
author | Christian Weiske <cweiske@cweiske.de> | 2010-10-09 13:03:55 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2010-10-09 13:03:55 +0200 |
commit | 6bf4e76495b03ccec29fb4d9262ac871dd10a221 (patch) | |
tree | 720640c75c9bb4deb855cfc834d909b59aeab763 | |
parent | 1263a62179cca1b0bccc114d1daa7340816bcf48 (diff) | |
download | semanticscuttle-6bf4e76495b03ccec29fb4d9262ac871dd10a221.tar.gz semanticscuttle-6bf4e76495b03ccec29fb4d9262ac871dd10a221.tar.bz2 |
make add/del tag nav links work again
-rw-r--r-- | data/templates/sidebar.block.linked.php | 3 | ||||
-rw-r--r-- | www/ajax/getlinkedtags.php | 1 |
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; |