# HG changeset patch # User Zoe Hong # Date 1427894017 -7200 # Node ID ca6bf3532830a77d50fab06b80d6ab2459241949 # Parent 3395385476d19376727aaa76c4d222589532c792 bug fixed: 1.popup tag window is closed automatically when saving text file. 2.bring popup tag window to the front diff -r 3395385476d1 -r ca6bf3532830 js/taggingtext.js --- a/js/taggingtext.js Wed Apr 01 15:10:35 2015 +0200 +++ b/js/taggingtext.js Wed Apr 01 15:13:37 2015 +0200 @@ -208,6 +208,7 @@ newdiv.id = "questionMarkId"; newdiv.setAttribute("class", "questionMarkClass"); + // set z-index to 4 to bring popup tag windwo to front newdiv.style.cssText = 'top:'+eventObject.pageY+'; left:'+eventObject.pageX+'; position:absolute; background-color: white; border:1px solid black; padding: 5px; z-index:4'; newdiv.innerHTML = "Tag: "+tagName+"
Value: "+tagObject.text()+"
";