Bugzilla – Attachment 23514 Details for
Bug 8334
Authority UNIMARC 100 field plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8334: Remove commented JS code
Bug-8334-Remove-commented-JS-code.patch (text/plain), 2.70 KB, created by
Jonathan Druart
on 2013-12-13 14:47:38 UTC
(
hide
)
Description:
Bug 8334: Remove commented JS code
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-12-13 14:47:38 UTC
Size:
2.70 KB
patch
obsolete
>From c67facc349fbe81693d3880c7f58f65ca0280136 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 13 Dec 2013 15:46:15 +0100 >Subject: [PATCH] Bug 8334: Remove commented JS code > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > .../value_builder/unimarc_field_100_authorities.tt | 38 -------------------- > 1 file changed, 38 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100_authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100_authorities.tt >index 553ee49..e905585 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100_authorities.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_100_authorities.tt >@@ -350,43 +350,6 @@ languages and obsolete typography)</option> > </form> > <script type="text/javascript"> > //<![CDATA[ >-// GetPublicationDate(); // running directly. >-// >-// /** >-// * GetPublicationDate. >-// * This function get the publication date if it's writen on 210d >-// */ >-// function GetPublicationDate() { >-// var PublicationDate = null; >-// >-// for (i=0 ; i<NbFields ; i++) { >-// if (doc.f.tag[i].value == '210' && doc.f.subfield[i].value == 'd') { >-// if (doc.f.field_value[i].value != ""){ >-// PublicationDate = doc.f.field_value[i].value; >-// document.getElementById('pubdate1').value = PublicationDate; >-// } >-// return; >-// } >-// } >-// } >-// >-// /** >-// * SetPublicationDate. >-// * This function set the publication date here >-// */ >-// function SetPublicationDate() { >-// var PublicationDate = document.getElementById('pubdate1').value; >-// if (PublicationDate == " " || !PublicationDate){ >-// return ; >-// } >-// for (i=0 ; i<NbFields ; i++) { >-// if (doc.f.tag[i].value == '210' && doc.f.subfield[i].value == 'd') { >-// doc.f.field_value[i].value = PublicationDate; >-// break; >-// } >-// } >-// } >- > function report() { > var doc = opener.document; > var field = doc.getElementById("[% index %]"); >@@ -403,7 +366,6 @@ languages and obsolete typography)</option> > document.f_pop.f2.value +document.f_pop.f3.value > +document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value+document.f_pop.f9.value; > >-// SetPublicationDate(); > self.close(); > return false; > } >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8334
:
21115
|
21116
|
21217
|
21230
|
23228
|
23513
| 23514