From b3340c87d940c5dcd0a1be06b1cff1cc3572dc9b Mon Sep 17 00:00:00 2001 From: Sulf Date: Fri, 30 Aug 2019 23:00:28 -0500 Subject: [PATCH] Fix bug when use_parts is false. When use_parts is set to false and view_ObjList is true the script raises and exception and it cannot load the List of objects because of a missing '>' on a *div* tag. --- annotationTools/js/object_list.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/annotationTools/js/object_list.js b/annotationTools/js/object_list.js index 3e1154a1..302386f8 100644 --- a/annotationTools/js/object_list.js +++ b/annotationTools/js/object_list.js @@ -79,6 +79,8 @@ function RenderObjectList() { 'ondrop="drop(event, '+ii+')" '+ 'ondragenter="return dragEnter(event)" '+ 'ondragover="return dragOver(event)">'; + } else { + html_str += '>'; } // change the icon for parts