Bugzilla – Attachment 175245 Details for
Bug 38411
When adding multiple items on receive, mandatory fields are not checked
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38411: Check mandatory item fields when creating several items ordering or receiving.
Bug-38411-Check-mandatory-item-fields-when-creatin.patch (text/plain), 1.44 KB, created by
Adolfo RodrÃguez Taboada
on 2024-12-05 15:04:19 UTC
(
hide
)
Description:
Bug 38411: Check mandatory item fields when creating several items ordering or receiving.
Filename:
MIME Type:
Creator:
Adolfo RodrÃguez Taboada
Created:
2024-12-05 15:04:19 UTC
Size:
1.44 KB
patch
obsolete
>From 3c689b59f6e7cb4c8da6c746ffc715d2759019c7 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Adolfo=20Rodr=C3=ADguez?= <adolfo.rodriguez@xercode.es> >Date: Thu, 5 Dec 2024 16:03:12 +0100 >Subject: [PATCH] Bug 38411: Check mandatory item fields when creating several > items ordering or receiving. > >Update occurrences of _() to __() See Bug 38492 >--- > koha-tmpl/intranet-tmpl/prog/js/additem.js | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/additem.js b/koha-tmpl/intranet-tmpl/prog/js/additem.js >index 38bc85f8f6..1d35467649 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/additem.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/additem.js >@@ -51,11 +51,11 @@ function addMulti( count, node, unique_item_fields){ > //We need to verify the item form before saving > var empty_item_mandatory = CheckMandatorySubfields(item_form); > if (empty_item_mandatory > 0) { >- var _alertString= _("Form not submitted because of the following problem(s)")+"\n"; >+ var _alertString= __("Form not submitted because of the following problem(s)")+"\n"; > > _alertString +="-------------------------------------------------------------------\n\n"; > _alertString += >- "\n- " + _("%s item mandatory fields empty").format(empty_item_mandatory); >+ "\n- " + __("%s item mandatory fields empty").format(empty_item_mandatory); > alert(_alertString); > return false; > } >-- >2.30.2
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 38411
:
174274
|
175245
|
175246
|
179067
|
179479
|
180228