[Nagvis-checkins] SF.net Git: nagvis: Bugfix: Fixed backendid showing up in host_name field of add/
Brought to you by:
larsi-
From: lars <la...@us...> - 2011-08-25 15:17:02
|
Author: Lars Michelsen <lm...@la...> Date: Thu Aug 25 16:40:15 2011 +0200 Committer: Lars Michelsen <lm...@la...> 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 +?> |