Author:   Lars Michelsen <[email protected]>
Date:     Thu Aug 25 16:40:15 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Thu Aug 25 16:40:15 2011 +0200

Bugfix: Fixed backendid showing up in host_name field of add/modify
dialog in some rare cases

---

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

diff --git a/ChangeLog b/ChangeLog
index 2be89dc..b20faa4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,8 @@ Frontend
   * Bugfix: Fixed several umlauts in edit mode warning messages
   * Bugfix: Fixed 100% sidebar height
   * Bugfix: Fixed initial positioning of relative positioned gadgets
+  * Bugfix: Fixed backendid showing up in host_name field of add/modify dialog
+    in some rare cases
 
 Automap
   * Bugfix: Made the problem automap work again
diff --git a/share/server/core/classes/WuiViewMapAddModify.php 
b/share/server/core/classes/WuiViewMapAddModify.php
index 1a40daa..ae3ce72 100644
--- a/share/server/core/classes/WuiViewMapAddModify.php
+++ b/share/server/core/classes/WuiViewMapAddModify.php
@@ -316,7 +316,8 @@ class WuiViewMapAddModify {
                             $options = $this->CORE->getDefinedBackends();
                             $selected = $this->MAPCFG->getValue( 
$this->aOpts['id'], $propname, TRUE);
                             if($this->aOpts['type'] != 'global')
-                                $onChange = 
"getObjects(this.value,'".$type."','".$field."','".$this->MAPCFG->getValue($this->aOpts['id'],$propname,TRUE)."');validateMapConfigFieldValue(this)";
+                                $onChange = "getObjects(this.value, 
'".$type."', '".$field."', '');"
+                                           
."validateMapConfigFieldValue(this)";
                         break;
 
                         case 'host_name':
@@ -446,4 +447,4 @@ class WuiViewMapAddModify {
         return $ret;
     }
 }
-?>
\ No newline at end of file
+?>


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to