Module: nagvis
Branch: master
Commit: 2a4012de73db5c45a906189c1444be315273f5b9
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=2a4012de73db5c45a906189c1444be315273f5b9

Author: Lars Michelsen <[email protected]>
Date:   Fri Apr 23 19:30:41 2010 +0200

Service objects in WUI addmodify selections are now fetched from the current 
set backend

---

 share/server/core/classes/WuiViewMapAddModify.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/server/core/classes/WuiViewMapAddModify.php 
b/share/server/core/classes/WuiViewMapAddModify.php
index d47ed0f..ebff264 100644
--- a/share/server/core/classes/WuiViewMapAddModify.php
+++ b/share/server/core/classes/WuiViewMapAddModify.php
@@ -336,7 +336,7 @@ class WuiViewMapAddModify {
                                                        
                                                        if($propname == 
'host_name') {
                                                                
if($this->aOpts['type'] == 'service') {
-                                                                       
$onChange = 
"getServices('".$backendId."','".$this->aOpts['type']."',this.value,'service_description','".$sSelected."');validateMapConfigFieldValue(this)";
+                                                                       
$onChange = 
"getServices(document.getElementById('backend_id').value,'".$this->aOpts['type']."',this.value,'service_description','".$sSelected."');validateMapConfigFieldValue(this)";
                                                                } else {
                                                                        
$onChange = 'validateMapConfigFieldValue(this)';
                                                                }


------------------------------------------------------------------------------
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to