Mercurial > hg > extraction-interface
diff js/taggingtext.js @ 93:a05491461199 extractapp
bug fixed: solve the nested tagging issue
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 02 Oct 2015 12:18:34 +0200 |
parents | e681d693240e |
children | b0cecc104639 |
line wrap: on
line diff
--- a/js/taggingtext.js Mon Sep 14 14:39:03 2015 +0200 +++ b/js/taggingtext.js Fri Oct 02 12:18:34 2015 +0200 @@ -238,13 +238,13 @@ function removeTagNewDiv( eventObject, tagName, tagObject ) { - // TODO: nesting tag representaion + saveUndoText(); - saveUndoText(); var newdiv = document.createElement("div"); - $(newdiv).id = "questionMarkId"; + //$(newdiv).id = "questionMarkId"; $(newdiv).attr("class", "questionMarkClass"); + // set z-index to 3 to bring popup tag windwo to front newdiv.style.cssText = 'top:'+eventObject.pageY+'; left:'+eventObject.pageX+';'; @@ -315,6 +315,8 @@ newbutton.appendTo(newdiv); tagObject.append(newdiv); + + } function saveText(section_id) {