[Pkg-nagios-changes] [pkg-nagios] r2014 - nagvis/trunk/debian/patches
Alexander Reichle-Schmehl
tolimar at alioth.debian.org
Tue Mar 6 14:53:48 UTC 2012
Author: tolimar
Date: 2012-03-06 14:53:48 +0000 (Tue, 06 Mar 2012)
New Revision: 2014
Added:
nagvis/trunk/debian/patches/remove-shell-swf
Modified:
nagvis/trunk/debian/patches/series
Log:
Add patch to remove references to flash files
Added: nagvis/trunk/debian/patches/remove-shell-swf
===================================================================
--- nagvis/trunk/debian/patches/remove-shell-swf (rev 0)
+++ nagvis/trunk/debian/patches/remove-shell-swf 2012-03-06 14:53:48 UTC (rev 2014)
@@ -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;
+
Modified: nagvis/trunk/debian/patches/series
===================================================================
--- nagvis/trunk/debian/patches/series 2012-03-06 14:51:33 UTC (rev 2013)
+++ nagvis/trunk/debian/patches/series 2012-03-06 14:53:48 UTC (rev 2014)
@@ -1 +1,2 @@
config.patch
+remove-shell-swf
More information about the Pkg-nagios-changes
mailing list