Author: Lars Michelsen <[email protected]>
Date: Sun Jan 22 12:56:33 2012 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Sun Jan 22 12:56:33 2012 +0100
Bugfix: Always returning 'name' attribute instead of 'map_name' in overview map
ajax call
---
share/server/core/classes/GlobalIndexPage.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/share/server/core/classes/GlobalIndexPage.php
b/share/server/core/classes/GlobalIndexPage.php
index 7674d52..963c60c 100644
--- a/share/server/core/classes/GlobalIndexPage.php
+++ b/share/server/core/classes/GlobalIndexPage.php
@@ -201,6 +201,8 @@ class GlobalIndexPage {
private function mapError($type, $name, $msg) {
$map = $this->getMapAndAutomapDefaultOpts($type, $name, $name);
+ $map['name'] = $map['map_name'];
+ unset($map['map_name']);
$map['state'] = 'ERROR';
$map['summary_state'] = 'ERROR';
$map['icon'] = 'std_medium_error.png';
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins