From: tolimar Date: Tue, 6 Mar 2012 14:53:48 +0000 (+0000) Subject: Add patch to remove references to flash files X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3a23ac55dc7954760483ade3a6f56acb063f5aa4;p=pkg-nagvis.git Add patch to remove references to flash files git-svn-id: svn://svn.debian.org/svn/pkg-nagios/nagvis/trunk@2014 98d490a6-b407-0410-aaaa-fdee166ba3f5 --- diff --git a/debian/patches/remove-shell-swf b/debian/patches/remove-shell-swf new file mode 100644 index 0000000..93f6b2a --- /dev/null +++ b/debian/patches/remove-shell-swf @@ -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; + diff --git a/debian/patches/series b/debian/patches/series index 4462183..c4456c0 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ config.patch +remove-shell-swf