Module: nagvis
Branch: nagvis-1.4
Commit: 80f4ded0cb049e611b8859e248596b9e34805c66
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=80f4ded0cb049e611b8859e248596b9e34805c66

Author: Lars Michelsen <[email protected]>
Date:   Wed Aug 19 19:20:56 2009 +0200

#82 Javascript error when adding a line without line_type set

---

 nagvis/wui/includes/js/addmodify.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nagvis/wui/includes/js/addmodify.js 
b/nagvis/wui/includes/js/addmodify.js
index 2ac9eaa..7208e6c 100644
--- a/nagvis/wui/includes/js/addmodify.js
+++ b/nagvis/wui/includes/js/addmodify.js
@@ -183,7 +183,7 @@ function validateMapCfgForm() {
                }
                
                if(document.addmodify.line_type && 
document.addmodify.line_type.value == '') {
-                       alert(printLang(lang["lineTypeNotSet"]));
+                       alert(printLang(lang["lineTypeNotSet"], ''));
                        return false;
                }
        }


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to