]> git.koha-community.org Git - koha.git/commit
Bug 15843: Move MARC subfields structure JavaScript into separate file
authorOwen Leonard <oleonard@myacpl.org>
Wed, 17 Feb 2016 14:33:28 +0000 (09:33 -0500)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 24 Feb 2016 01:30:56 +0000 (01:30 +0000)
commit20989b76b9507bc128c980e4eeebc5891f72e2ff
tree92a1f352fed162ce683504b8f1631f506ac80c9e
parent9a7c6f695c4dd0fe5a1a92534ad0af79adbf1122
Bug 15843: Move MARC subfields structure JavaScript into separate file

The JavaScript embedded in the MARC subfields structure template is not
dependent on template processing and can safely be moved to a separate
file. This patch does so. Removed in the process is some lines which
were commented out.

To test, apply the patch and go to Administration -> MARC framworks.

 - Click 'MARC structure' for a framework you can edit.
 - Click 'subfields' for a tag you can edit.
 - Click 'Edit' for a subfield you can edit.
 - Confirm that tabs and accordian sections work correctly.
 - Make changes under Advanced constraints -> Visibility and confirm
   that they are saved correctly.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
koha-tmpl/intranet-tmpl/prog/en/js/marc_subfields_structure.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt