[Koha-bugs] [Bug 2324] Undo Import should have a confirm dialog

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 31 03:51:01 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2324

--- Comment #3 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 49616
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49616
Bug 2324: Adding confirm dialog when undoing import

Review of attachment 49616:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=2324&attachment=49616)
-----------------------------------------------------------------

::: koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt
@@ +364,4 @@
>      <input type="hidden" name="runinbackground" value="" />
>      <input type="hidden" name="completedJobID" value="" />
>      <input type="hidden" name="import_batch_id" value="[% import_batch_id %]" />
> +    <fieldset class="action"><input type="submit" class="button" name="mainformsubmit" value="Undo import into catalog" onclick="return confirm(MSG_CONFIRM_UNDO_IMPORT); return submitBackgroundJob(this.form);" /></fieldset>

I don't think you want a double return. I think you want a &&.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list