Description: Disabling netmap component for Debian
 The component has been removed because it's non-free.
Author: Alexander Reichle-Schmehl <tolimar@debian.org>
Reviewed-by: Markus Frosch <markus@lazyfrosch.de>
Last-Update: 2013-12-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/share/frontend/nagvis-js/js/frontend.js
+++ b/share/frontend/nagvis-js/js/frontend.js
@@ -1410,8 +1410,8 @@
         oTr.appendChild(oTd);
 
         // Link
-        var oLink = document.createElement('a');
-        oLink.href = oGeneralProperties.path_base+'/netmap/shell.html';
+//        var oLink = document.createElement('a');
+//        oLink.href = oGeneralProperties.path_base+'/netmap/shell.html';
 
         // Status image
         var oImg = document.createElement('img');
@@ -1419,17 +1419,17 @@
         oImg.src = oGeneralProperties.path_iconsets+'std_small_unknown.png';
         oImg.alt = 'geomap';
 
-        oLink.appendChild(oImg);
+//        oLink.appendChild(oImg);
         oImg = null;
 
         // Title
         var h2 = document.createElement('h2');
         h2.appendChild(document.createTextNode('Geomap'));
-        oLink.appendChild(h2);
+//        oLink.appendChild(h2);
         h2 = null;
 
         var br = document.createElement('br');
-        oLink.appendChild(br);
+//        oLink.appendChild(br);
         br = null;
 
         // Only show map thumb when configured
@@ -1442,8 +1442,8 @@
             oImg = null;
         }
 
-        oTd.appendChild(oLink);
-        oLink = null;
+//        oTd.appendChild(oLink);
+//        oLink = null;
 
         oTd = null;
 
