Author: Lars Michelsen <[email protected]>
Date: Mon Aug 19 12:06:30 2013 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Mon Aug 19 12:06:40 2013 +0200
FIX: Hiding "Edit Map" link for "on demand" automaps
---
ChangeLog | 1 +
share/userfiles/templates/default.header.html | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 49ef18e..2558c24 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -37,6 +37,7 @@ Frontend:
interface checks
* FIX: Fixed "TypeError: oLabel is null" on at least geomaps
* FIX: Fixed shape image displaying when using external URLS
+ * FIX: Hiding "Edit Map" link for "on demand" automaps
Automap:
* Labels have now a white background to improve the text readability
diff --git a/share/userfiles/templates/default.header.html
b/share/userfiles/templates/default.header.html
index 5783f65..776a3d3 100644
--- a/share/userfiles/templates/default.header.html
+++ b/share/userfiles/templates/default.header.html
@@ -43,7 +43,7 @@
</ul>
</li>
{/if}
- {if $mod == 'Map' && $permittedEdit == true}
+ {if $mod == 'Map' && $currentMap != '' && $permittedEdit == true}
<li onmouseover="ddMenu('map',1)" onmouseout="ddMenuHide(['map'])"
class="dropdown">
<span id="map-ddheader">{$langMapEdit} <img
src="{$pathTemplateImages}default.header_down.png" alt="∇" /></span>
<ul id="map-ddcontent">
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins