Bug 27531: Remove type attribute from script tags: Cataloging plugins

This patch removes the no-longer-valid "type" attribute from script tags
found in cataloging plugin templates.

I don't think testing each plugin individually is a reasonable thing to
ask for a test. I think a visual verification of the changes in the
patch should be enough.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 32d4821307)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Owen Leonard 2021-01-22 16:43:58 +00:00 committed by Fridolin Somers
parent 8ae3c07f01
commit f656ab418d
54 changed files with 57 additions and 57 deletions

View File

@ -4,7 +4,7 @@
<head>
<title>Gestion des index MACLES</title>
[% INCLUDE 'doc-head-close.inc' %]
<script type="text/javascript">
<script>
//<![CDATA[
$(document).ready(function() {
@ -89,7 +89,7 @@
[% END %]
</div>
</form>
<script type="text/javascript">
<script>
//<![CDATA[
function Activate(numlayer)
{

View File

@ -34,7 +34,7 @@
[% MACRO jsinclude BLOCK %]
[% Asset.js("js/xmlControlfield.js") | $raw %]
<script type="text/javascript">
<script>
var objXmlControlField;
var tr_result;
var h4_result;

View File

@ -94,7 +94,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -716,7 +716,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -200,7 +200,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -325,7 +325,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -122,7 +122,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -127,7 +127,7 @@
[% MACRO jsinclude BLOCK %]
[% IF ( fillinput ) %]
<script type="text/javascript">
<script>
function go() {
var index_start = "[% index | html %]";
@ -207,7 +207,7 @@
window.close();
</script>
[% ELSE %]
<script type="text/javascript">
<script>
function report(value2report) {
if (document.f_pop.result.value.length == 0) {
document.f_pop.result.value = value2report;
@ -224,7 +224,7 @@
}
</script>
[% END %]
<script type="text/javascript">
<script>
function jumpfull(page){
window.open(page,'','width=100,height=100,toolbar=false,scrollbars=yes');
}

View File

@ -69,7 +69,7 @@
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Avbryt</a></fieldset>
</form>
<script type="text/javascript">
<script>
//<![CDATA[
function report() {
var doc = opener.document;

View File

@ -205,7 +205,7 @@
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
</form>
<script type="text/javascript">//<![CDATA[
<script>//<![CDATA[
function RedrawChoices(typ){
var divOutput=document.getElementById("choices");

View File

@ -197,7 +197,7 @@
</table>
<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Avbryt</a></fieldset>
</form>
<script type="text/javascript">
<script>
//<![CDATA[
function report() {
var doc = opener.document;

View File

@ -687,7 +687,7 @@ languages and obsolete typography)</option>
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -352,7 +352,7 @@ languages and obsolete typography)</option>
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -1137,7 +1137,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -87,7 +87,7 @@ supplement)</option>
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -595,7 +595,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
document.f_pop.f5.value=document.f_pop.f5.value+' ';
document.f_pop.f5.value=document.f_pop.f5.value.substring(0,3);

View File

@ -1192,7 +1192,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
document.f_pop.f2.value=document.f_pop.f2.value+' ';
document.f_pop.f2.value=document.f_pop.f2.value.substring(0,3);

View File

@ -639,7 +639,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
document.f_pop.f10.value=document.f_pop.f10.value+' ';
document.f_pop.f10.value=document.f_pop.f10.value.substring(0,4);

View File

@ -1590,7 +1590,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -813,7 +813,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -1126,7 +1126,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -339,7 +339,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -248,7 +248,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
document.f_pop.f3.value=document.f_pop.f3.value+' ';

View File

@ -43,7 +43,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
document.f_pop.f2.value=document.f_pop.f2.value+' ';
document.f_pop.f3.value=document.f_pop.f3.value+' ';

View File

@ -33,7 +33,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -49,7 +49,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
document.f_pop.f2.value=document.f_pop.f2.value+' ';
document.f_pop.f3.value=document.f_pop.f3.value+' ';

View File

@ -49,7 +49,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
document.f_pop.f2.value=document.f_pop.f2.value+' ';
document.f_pop.f3.value=document.f_pop.f3.value+' ';

View File

@ -49,7 +49,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
document.f_pop.f2.value=document.f_pop.f2.value+' ';
document.f_pop.f3.value=document.f_pop.f3.value+' ';

View File

@ -49,7 +49,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
document.f_pop.f2.value=document.f_pop.f2.value+' ';
document.f_pop.f3.value=document.f_pop.f3.value+' ';

View File

@ -39,7 +39,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var f2= "000" + document.f_pop.f2.value;
f2 = f2.substring(f2.length-3);

View File

@ -34,7 +34,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -75,7 +75,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -130,7 +130,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -34,7 +34,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -35,7 +35,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -109,7 +109,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -70,7 +70,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -136,7 +136,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -129,7 +129,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -1030,7 +1030,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -173,7 +173,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -27,7 +27,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
document.f_pop.f1.value=document.f_pop.f1.value+' ';
document.f_pop.f2.value=document.f_pop.f2.value+' ';

View File

@ -369,7 +369,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
var dateformat = "[% Koha.Preference('dateformat') | html %]";
function report() {
var doc = opener.document;

View File

@ -465,7 +465,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
var dateformat = "[% Koha.Preference('dateformat') | html %]";
function report() {
var doc = opener.document;

View File

@ -459,7 +459,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
var dateformat = "[% Koha.Preference('dateformat') | html %]";
function report() {
var doc = opener.document;

View File

@ -329,7 +329,7 @@ value="[% f5 | html %]" /></td>
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
var dateformat = "[% Koha.Preference('dateformat') | html %]";
function report() {
document.f_pop.f5.value=document.f_pop.f5.value+' ';

View File

@ -60,7 +60,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
var dateformat = "[% Koha.Preference('dateformat') | html %]";
function report() {
var doc = opener.document;

View File

@ -1725,7 +1725,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
var dateformat = "[% Koha.Preference('dateformat') | html %]";
function report() {
var doc = opener.document;

View File

@ -368,7 +368,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
var dateformat = "[% Koha.Preference('dateformat') | html %]";
function report() {
var doc = opener.document;

View File

@ -25,7 +25,7 @@
</div>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -28,7 +28,7 @@
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");

View File

@ -23,7 +23,7 @@
</div>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
$(document).ready(function(){
$("#findvalue").autocomplete({
source: "/cgi-bin/koha/cataloguing/ysearch.pl?table=biblioitems&field=collectiontitle",

View File

@ -48,7 +48,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
x = document.f_pop.f1.value.split(' - ');
var doc = opener.document;

View File

@ -294,7 +294,7 @@
</form>
[% MACRO jsinclude BLOCK %]
<script type="text/javascript">
<script>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index | html %]");