diff views/Extractapp/EditTaglist.php @ 95:9a29e9d28ece extractapp

new: create new topic
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Wed, 11 Nov 2015 14:12:55 +0100
parents b0cecc104639
children c1bb174a22f3
line wrap: on
line diff
--- a/views/Extractapp/EditTaglist.php	Mon Nov 09 12:00:24 2015 +0100
+++ b/views/Extractapp/EditTaglist.php	Wed Nov 11 14:12:55 2015 +0100
@@ -212,7 +212,9 @@
 	newcolumn.setAttribute("width","50");
 	if ( color=="Color") {
 		row.appendChild(newcolumn).innerHTML="Delete";
-	} else {
+	} else if (id == topic_tag_id) {
+		row.appendChild(newcolumn).innerHTML="-";	
+	} else  {
 		row.appendChild(newcolumn).innerHTML="<button onclick=\"DeleteTag("+id+")\">Delete</button>";
 	}