Mercurial > hg > extraction-interface
diff views/Extractapp/EditTaglist.php @ 77:97c1e5102a22 extractapp
New: export table for a file from LGService
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 16 Apr 2015 14:53:22 +0200 |
parents | 886f43b26ee2 |
children | f1f849d31272 |
line wrap: on
line diff
--- a/views/Extractapp/EditTaglist.php Mon Apr 13 15:43:59 2015 +0200 +++ b/views/Extractapp/EditTaglist.php Thu Apr 16 14:53:22 2015 +0200 @@ -1,4 +1,11 @@ <?php +/*! \file +* This is the view for EditTaglist. +* It shows the detail of taglist in the current topic in a new window. +* User can edit values for each tag except the topic_tag. +*/ + + // --- initialize --- $taglistArray = $viewmodel['taglistArray']; $topic_id = $viewmodel['topic_id']; @@ -31,7 +38,8 @@ var largestId = JSON.parse('<?php echo json_encode($largestId) ?>'); var topic_tag_id = JSON.parse('<?php echo json_encode($topic_tag_id) ?>'); -function addTag( ) { +function addTag() { + largestId++; var row = tableMain.insertBefore(document.createElement("tr"), document.getElementById("trAddTag") ); row.setAttribute("height","50");