Bugzilla – Attachment 129241 Details for
Bug 29837
JS error during installer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29837: Remove JS error during installer
Bug-29837-Remove-JS-error-during-installer.patch (text/plain), 1.57 KB, created by
Jonathan Druart
on 2022-01-10 09:36:41 UTC
(
hide
)
Description:
Bug 29837: Remove JS error during installer
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-01-10 09:36:41 UTC
Size:
1.57 KB
patch
obsolete
>From bf7fc03959442ccc1ca9c83081c937703edb8d52 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 10 Jan 2022 10:35:40 +0100 >Subject: [PATCH] Bug 29837: Remove JS error during installer > >Uncaught ReferenceError: _ is not defined > >the _() function is called from calendar.inc, but calendar.inc is included before the definition of this function in installer-intranet-bottom.inc > >Test plan: >Confirm that the JS error is gone >--- > .../prog/en/includes/installer-intranet-bottom.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc >index 3f1ca56a389..99b8da94bab 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc >@@ -5,7 +5,6 @@ > [% Asset.js("lib/jquery/jquery-ui-1.11.4.min.js") | $raw %] > [% Asset.js("lib/bootstrap/bootstrap.min.js") | $raw %] > [% Asset.js("lib/jquery/plugins/jquery.validate.min.js") | $raw %] >- [% INCLUDE 'calendar.inc' %] > <!-- installer-intranet-bottom.inc --> > <script> > function _(s) { return s } // dummy function for gettext >@@ -20,6 +19,7 @@ > }); > </script> > <!-- / installer-intranet-bottom.inc --> >+ [% INCLUDE 'calendar.inc' %] > [% jsinclude | $raw # Parse the page template's JavaScript block if necessary %] > </body> > </html> >-- >2.25.1
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 29837
:
129241
|
129249
|
129596