Bugzilla – Attachment 89491 Details for
Bug 8558
Better confirmation message for importing frameworks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8558: (QA follow-up) a little more text clean up
Bug-8558-QA-follow-up-a-little-more-text-clean-up.patch (text/plain), 1.82 KB, created by
Liz Rea
on 2019-05-09 02:03:47 UTC
(
hide
)
Description:
Bug 8558: (QA follow-up) a little more text clean up
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2019-05-09 02:03:47 UTC
Size:
1.82 KB
patch
obsolete
>From c4c6ecc5e79bdb9d1ec99ac080b9c9bfd6de62d9 Mon Sep 17 00:00:00 2001 >From: Liz Rea <wizzyrea@gmail.com> >Date: Thu, 9 May 2019 02:02:55 +0000 >Subject: [PATCH] Bug 8558: (QA follow-up) a little more text clean up > >You can take or leave it, honestly, I just thought >we could be a little more explicit about what we were overwriting. >--- > koha-tmpl/intranet-tmpl/prog/js/biblio_framework.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/biblio_framework.js b/koha-tmpl/intranet-tmpl/prog/js/biblio_framework.js >index 6c7427fdf9..d2e59540b1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/biblio_framework.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/biblio_framework.js >@@ -53,7 +53,7 @@ > var obj = $('#' + id + ' input:file'); > if (/(?:\.csv|\.ods|\.xml)$/.test(obj.val())) { > var frameworkcode = $('#' + id + ' input:hidden[name=frameworkcode]').val(); >- var MSG_OVERWRITE_WARNING = _("Are you sure you want to import the " + frameworkcode + " framework structure? This will overwrite the current configuration. For safety reasons, it is recommended to use the export option to make a backup first."); >+ var MSG_OVERWRITE_WARNING = _("Are you sure you want to replace the fields and subfields for the " + frameworkcode + " framework structure? The existing structure will be overwritten! For safety reasons, it is recommended to use the export option to make a backup first."); > if (confirm( MSG_OVERWRITE_WARNING )) { > $('#importing_' + frameworkcode).find("span").html(MSG_IMPORTING_TO_FRAMEWORK.format("<strong>" + frameworkcode + "</strong>", "<i>" + obj.val().replace(new RegExp("^.+[/\\\\]"),"") + "</i>")); > if (navigator.userAgent.toLowerCase().indexOf('msie') != -1) { >-- >2.11.0
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 8558
:
88997
|
89366
|
89489
|
89490
|
89491
|
89587
|
89588