[Koha-bugs] [Bug 6874] File upload in MARC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Sep 28 04:23:36 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6874

--- Comment #133 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 21432
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21432
[SIGNED-OFF] Bug 6874: File upload in MARC

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

::: cataloguing/value_builder/upload.pl
@@ +50,5 @@
> +            var id = document.getElementById(index).value;
> +            if(id.match(/id=([0-9a-f]+)/)){
> +                id = RegExp.\$1;
> +            }
> +            window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=upload.pl&index=\"+index+\"&id=\"+id, 'upload', 'width=600,height=400,toolbar=false,scrollbars=no');

var newin=... (this line)
newin.focus();

::: koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/upload.tt
@@ +3,5 @@
> +<html xmlns="http://www.w3.org/1999/xhtml">
> +<head>
> +    <title>Upload plugin</title>
> +    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> +    <script type="text/javascript" src="[% themelang %]/lib/jquery/jquery.js"></script>

This should be interface, not themelang.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list