From e71a4bb01fda73184768e1792d5e46a8c38f2bad Mon Sep 17 00:00:00 2001 From: Hector Castro 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 --- .../intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc | 2 -- 1 file changed, 2 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..f2d47a9 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,7 +141,6 @@ require( [ 'widget' ], function( Widget ) { Widget.Register( '006@', { makeTemplate: function() { - var now = new Date(); return "a "; }, init: function() { @@ -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