Module: nagvis
Branch: master
Commit: a1dab66984a1f546465b54fb6976c4620d10e4d7
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=a1dab66984a1f546465b54fb6976c4620d10e4d7

Author: LaMi <[email protected]>
Date:   Sun Mar  7 13:18:39 2010 +0100

Fixed cursor when editing textboxes

---

 share/frontend/wui/js/ExtGenericResize.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/share/frontend/wui/js/ExtGenericResize.js 
b/share/frontend/wui/js/ExtGenericResize.js
index a72ea89..e43b142 100644
--- a/share/frontend/wui/js/ExtGenericResize.js
+++ b/share/frontend/wui/js/ExtGenericResize.js
@@ -165,8 +165,6 @@ function doMove(event) {
                el.style.cursor = str;
                
                str = null;
-       } else {
-               el.style.cursor = "default";
        }
        
        //Dragging starts here
@@ -199,7 +197,7 @@ function doMove(event) {
 function getReal(el, type, value) {
        temp = el;
        while ((temp != null) && (temp.tagName != "BODY")) {
-               if (eval("temp." + type) == value) {
+               if(eval("temp." + type).indexOf(value) !== -1) {
                        el = temp;
                        return el;
                }


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to