]> git.koha-community.org Git - koha.git/commit
Bug 6874: kohastructure.sql, jquery.js, refocus, and more
authorMark Tompsett <mtompset@hotmail.com>
Thu, 26 Sep 2013 15:45:19 +0000 (11:45 -0400)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Fri, 7 Aug 2015 18:22:45 +0000 (15:22 -0300)
commit64079ccaa3284f9bf12945aad082e22c1fe4d90d
treebbd96ba5a7448d43c7bc5696f7de7ccaa8583486
parent79168c011bb32439f487832231e7dac8335b669c
Bug 6874: kohastructure.sql, jquery.js, refocus, and more

Two problems were discovered while doing a fresh install
of Koha. These problems in the kohastructure.sql file are
addressed with this patch.

Clicking the plug-in icon should cause the popup window
to refocus.  This adds the refocus code to the upload.pl file.

The path to the jquery.js script was wrong in the
upload_delete_file.tt file. Changed [% themelang %] to
[% interface %].

If a user clones 856$u after uploading a file, deletes the file,
and then clicks the plugin icon on the first 856$u, this will go
immediately to the upload screen with an informative error
message.

After some validation was added, it was extended to include
other cases. This serves to patch 6874 to a state where sign
off should be possible.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
C4/UploadedFiles.pm
cataloguing/value_builder/upload.pl
installer/data/mysql/kohastructure.sql
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/upload.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/upload_delete_file.tt
t/db_dependent/UploadedFiles.t