Bugzilla – Attachment 63062 Details for
Bug 17288
Advanced Editor - Rancor - Helpers for 006 and 007 fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 17288: (follow-up) Remove unneccessary Date() function
SIGNED-OFF-Bug-17288-follow-up-Remove-unneccessary.patch (text/plain), 1.57 KB, created by
Josef Moravec
on 2017-05-04 09:35:56 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 17288: (follow-up) Remove unneccessary Date() function
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2017-05-04 09:35:56 UTC
Size:
1.57 KB
patch
obsolete
>From 149290902b420b6ffb1a0926c0658cc42382ce85 Mon Sep 17 00:00:00 2001 >From: Hector Castro <hector.hecaxmmx@gmail.com> >Date: Tue, 27 Sep 2016 13:39:14 -0600 >Subject: [PATCH] [SIGNED-OFF] Bug 17288: (follow-up) Remove unneccessary > Date() function > >Remove line: >var now = new Date(); from both subfields >Also fix 18 positions (00-17) for default data in 006 field > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc >index aab9014..6db5d7e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc >@@ -141,8 +141,7 @@ require( [ 'widget' ], function( Widget ) { > > Widget.Register( '006@', { > makeTemplate: function() { >- var now = new Date(); >- return "a "; >+ return "a "; > }, > init: function() { > var $result = $( '<span class="subfield-widget fixed-widget">' + _("Fixed data:") + '<span class="hint widget-loading">' + _("Loading...") + '</span></span>' ); >@@ -156,7 +155,6 @@ require( [ 'widget' ], function( Widget ) { > > Widget.Register( '007@', { > makeTemplate: function() { >- var now = new Date(); > return "a "; > }, > init: function() { >-- >2.1.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 17288
:
55454
|
55548
|
55842
|
55854
|
55855
|
63059
|
63060
|
63061
|
63062
|
66465
|
66466
|
66467
|
66468