rem: while (currnode != null && currnode.nodeName != '#document') { if (currnode.nodeName.toLowerCase() == 'a') { 
add: var nn; while (currnode != null && (nn=currnode.nodeName.toLowerCase()) != '#document') { if (nn=='a') { 
context: function ShowPathTool() {    /* shows the path to the current element in the status bar */    this.updateState = function(selNode) {        /* calculate and display the path */        var path = '';        var url = null; // for links we want to display the url too        var currnode = selNode;        while (currnode != null && currnode.nodeName != '#document') {            if (currnode.nodeName.toLowerCase() == 'a') {                url = currnode.getAttribute('href');            };            path = '/' + currnode.nodeName.toLowerCase() + path;            currnode = currnode.parentNode;        }                try {            window.status = url ?                     (path.toString() + ' - contains link to \'' +                         url.toString() + '\'') :                    path;        } catch (e) {            this.editor.logMessage(_('Could not set status bar message, ' +                                    'check your browser\'s security settings.'), 1);        };    };};
meta: 2380	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2380/2d8706428efbec3e2798eaafec7205a7efd24de6/kupubasetools.js/clean/kupu/common/kupubasetools.js