changeset 64:ca6bf3532830 extractapp

bug fixed: 1.popup tag window is closed automatically when saving text file. 2.bring popup tag window to the front
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Wed, 01 Apr 2015 15:13:37 +0200
parents 3395385476d1
children f9ae94a9b041
files js/taggingtext.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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+"<br>Value: "+tagObject.text()+"<br>";