Code

Add patch to remove references to flash files
authortolimar <tolimar@98d490a6-b407-0410-aaaa-fdee166ba3f5>
Tue, 6 Mar 2012 14:53:48 +0000 (14:53 +0000)
committertolimar <tolimar@98d490a6-b407-0410-aaaa-fdee166ba3f5>
Tue, 6 Mar 2012 14:53:48 +0000 (14:53 +0000)
git-svn-id: svn://svn.debian.org/svn/pkg-nagios/nagvis/trunk@2014 98d490a6-b407-0410-aaaa-fdee166ba3f5

debian/patches/remove-shell-swf [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/remove-shell-swf b/debian/patches/remove-shell-swf
new file mode 100644 (file)
index 0000000..93f6b2a
--- /dev/null
@@ -0,0 +1,45 @@
+--- a/share/frontend/nagvis-js/js/frontend.js
++++ b/share/frontend/nagvis-js/js/frontend.js
+@@ -1432,8 +1432,8 @@ function parseOverviewGeomap() {
+         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');
+@@ -1441,17 +1441,17 @@ function parseOverviewGeomap() {
+         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
+@@ -1464,8 +1464,8 @@ function parseOverviewGeomap() {
+             oImg = null;
+         }
+-        oTd.appendChild(oLink);
+-        oLink = null;
++//        oTd.appendChild(oLink);
++//        oLink = null;
+         oTd = null;
index 4462183fcdda2a39dec5691309a4dc46b3990f97..c4456c0c1ad1bef2dc9af760768a768082c7a133 100644 (file)
@@ -1 +1,2 @@
 config.patch
+remove-shell-swf