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:30 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 575f4b6..b583078 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,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 09d925b..38215dd 100644
--- a/share/userfiles/templates/default.header.html
+++ b/share/userfiles/templates/default.header.html
@@ -49,7 +49,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="&#8711;" /></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

Reply via email to