diff develop/views/Extractapp/taggingtext.php @ 17:82f8c6bd2b69

add new tag will based on the current topic_id, insert new element into (1)taglist table and (2)topic_tag_relation table
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Fri, 20 Feb 2015 17:57:02 +0100
parents fb948097de39
children 04db1dd9d10d
line wrap: on
line diff
--- a/develop/views/Extractapp/taggingtext.php	Fri Feb 20 16:39:08 2015 +0100
+++ b/develop/views/Extractapp/taggingtext.php	Fri Feb 20 17:57:02 2015 +0100
@@ -562,7 +562,10 @@
                     <button onclick="editText()" id="editTextId" style="height: 30px; width: 220px">Edit the text</button></br>
                     </br>
                     <button onclick="window.open('./EditWordlist')" style="height: 30px; width: 220px">Manage Word List</button></br>
+                    <!--
                     <button onclick="window.open('./EditTaglist')" style="height: 30px; width: 220px">Manage Tag List</button></br>
+                    -->
+                    <button onclick="editTaglist(<?php echo $default_topic_id; ?>)" style="height: 30px; width: 220px">Manage Tag List</button></br>
                 </fieldset>
                 
                 <fieldset>