Module: nagvis
Branch: master
Commit: fc46b86b6082673b805faa1652e4108c9f3f92af
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=fc46b86b6082673b805faa1652e4108c9f3f92af

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

---

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

diff --git a/share/wui/includes/js/addmodify.js 
b/share/wui/includes/js/addmodify.js
index 2ac9eaa..7208e6c 100644
--- a/share/wui/includes/js/addmodify.js
+++ b/share/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