Bugzilla – Attachment 55855 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]
Bug 17288: (follow-up) Remove unneccessary Date() function
Bug-17288-follow-up-Remove-unneccessary-Date-funct.patch (text/plain), 1.50 KB, created by
Héctor Eduardo Castro Avalos
on 2016-09-27 20:18:59 UTC
(
hide
)
Description:
Bug 17288: (follow-up) Remove unneccessary Date() function
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2016-09-27 20:18:59 UTC
Size:
1.50 KB
patch
obsolete
>From 95142902b6f65d4dbf2559d1cedfe1ec99bca530 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] 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 >--- > .../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() { >-- >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 17288
:
55454
|
55548
|
55842
|
55854
|
55855
|
63059
|
63060
|
63061
|
63062
|
66465
|
66466
|
66467
|
66468