From 7832a79faeb184340bfb365d4889ad34c51f04c8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 23 Jan 2025 09:35:27 +0100 Subject: [PATCH] Bug 38952: Remove JS function messenger from acq.js Test plan: % git grep -l messenger koha-tmpl/intranet-tmpl/lib/fontawesome/css/brands.min.css koha-tmpl/intranet-tmpl/lib/fontawesome/webfonts/fa-brands-400.ttf koha-tmpl/opac-tmpl/lib/fontawesome/css/brands.min.css koha-tmpl/opac-tmpl/lib/fontawesome/webfonts/fa-brands-400.ttf The function is unused and can be removed. --- koha-tmpl/intranet-tmpl/prog/js/acq.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/acq.js b/koha-tmpl/intranet-tmpl/prog/js/acq.js index 059cd4cea25..444c7a5e6f0 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/acq.js +++ b/koha-tmpl/intranet-tmpl/prog/js/acq.js @@ -162,18 +162,6 @@ function autoFillRow(bud_id) { remainingTotal.style.color = 'black'; } - -function messenger(X,Y,etc){ // FIXME: unused? - win=window.open("","mess","height="+X+",width="+Y+",screenX=150,screenY=0"); - win.focus(); - win.document.close(); - win.document.write("


"); - win.document.write(etc); - win.document.write("

"); - win.document.write("
"); -} - - //======================================================================= // NEXT BLOCK IS USED BY NEWORDERBEMPTY -- 2.34.1