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

Author: Roman Kyrylych <[email protected]>
Date:   Mon Aug 17 14:50:46 2009 +0300

gmap: Fixed Locations dialog box to correctly show URLs not prefixed with 
http(s)

Signed-off-by: Roman Kyrylych <[email protected]>

---

 uifx/src/modules/gmap/view/DialogLocation.mxml |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/uifx/src/modules/gmap/view/DialogLocation.mxml 
b/uifx/src/modules/gmap/view/DialogLocation.mxml
index 9b4bc98..6c36974 100644
--- a/uifx/src/modules/gmap/view/DialogLocation.mxml
+++ b/uifx/src/modules/gmap/view/DialogLocation.mxml
@@ -115,7 +115,8 @@
                                                if (location.action && 
location.action.length > 0)
                                                {
                                                        var slices : Array = 
location.action.split(':', 2);
-                                                       switch(slices[0])
+
+                                                       switch (slices[0])
                                                        {
                                                                case 'nagios':
                                                                        
locAction.selectedIndex = 1;
@@ -124,14 +125,11 @@
                                                                        
locAction.selectedIndex = 2;
                                                                        
locActionMaps.text = slices[1];
                                                                        break;
-                                                               case 'http':
-                                                               case 'https':
+                                                               default:
                                                                        
locAction.selectedIndex = 3;
                                                                        
locActionURL.text = location.action;
-                                                                       break;
-                                                               default:
-                                                                       
locAction.selectedIndex = 0;
                                                        }
+
                                                        onActionChanges();
                                                }
                                                else


------------------------------------------------------------------------------
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