Author: Lars Michelsen <[email protected]>
Date: Thu Apr 14 21:14:08 2011 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Thu Apr 14 21:14:08 2011 +0200
Fixed result message when creating a map
---
share/server/core/classes/CoreModMap.php | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/share/server/core/classes/CoreModMap.php
b/share/server/core/classes/CoreModMap.php
index 37c116b..41776ee 100644
--- a/share/server/core/classes/CoreModMap.php
+++ b/share/server/core/classes/CoreModMap.php
@@ -120,8 +120,8 @@ class CoreModMap extends CoreModule {
case 'doAdd':
$this->handleResponse('handleResponseAdd', 'doAdd',
$this->CORE->getLang()->getText('The map has been created.'),
-
$this->CORE->getLang()->getText('The map could not be created.'),
-
1,
$this->htmlBase.'/frontend/wui/index.php?mod=Map&act=edit&show='.$_POST['map']);
+
$this->CORE->getLang()->getText('The map could not be created.'),
+ 1,
$this->htmlBase.'/frontend/wui/index.php?mod=Map&act=edit&show='.$_POST['map']);
break;
case 'doRename':
// if renamed map is open, redirect to
new name
@@ -899,6 +899,7 @@ class CoreModMap extends CoreModule {
return false;
$MAPCFG->addElement('global', $a, true);
+ return true;
}
protected function handleResponseAdd() {
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins