Module: nagvis Branch: master Commit: 17636342932af01b4343b0af160b92c4a8c13188 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=17636342932af01b4343b0af160b92c4a8c13188
Author: LaMi <[email protected]> Date: Sun Mar 7 13:45:50 2010 +0100 Fixed textbox context menu in WUI over the contents of the textbox --- share/frontend/nagvis-js/js/frontendContext.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/frontend/nagvis-js/js/frontendContext.js b/share/frontend/nagvis-js/js/frontendContext.js index b560b0b..7936619 100644 --- a/share/frontend/nagvis-js/js/frontendContext.js +++ b/share/frontend/nagvis-js/js/frontendContext.js @@ -132,14 +132,14 @@ function contextShow(event) { // id from a parent element if(typeof target.id == 'undefined' || target.id == '') { // Take the first parent - if(target.parentNode != null && typeof target.parentNode.id != 'undefined' && target.parentNode.id !== '' && target.parentNode.id.indexOf('-') !== -1) { + if(target.parentNode != null && typeof target.parentNode.id != 'undefined' && target.parentNode.id !== '') { target = target.parentNode; } // At the moment there is no need to loop more layers. Maybe this is // needed in the future? } - + // Workaround for the different structure of targets on lines/icons // Would be nice to fix the structure var id; ------------------------------------------------------------------------------ Download Intel® 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
