]> git.koha-community.org Git - koha.git/commit
Bug 9764 - Replace YUI buttons on authority search popup with Bootstrap
authorOwen Leonard <oleonard@myacpl.org>
Thu, 7 Mar 2013 19:25:25 +0000 (14:25 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 21 Mar 2013 13:55:18 +0000 (09:55 -0400)
commitf6dae54fc20600fc5db2875b38fae8401cc8ca7c
tree3eb4073c07fff710ad3589289468f5bacad3f780
parent186d97ff2b9b3bd42a96527c8bfdbefab4418332
Bug 9764 - Replace YUI buttons on authority search popup with Bootstrap

The authority search popup styles several buttons with YUI. Bootstrap
should be used instead.

This patch removes YUI styling from two buttons ("Submit" and "Cancel")
in favor of default styling for consistency's sake. The other buttons
("Clear field" and "Create new") have been moved to a standard toolbar
div and styled with Bootstrap.

Some inline JavaScript has been moved to the <script> tag in order to
eliminate undesirable javascript: pseudo-protocol links.

To test, open a bibliographic record for editing and click the authority
edit link next to a field with authority-linked data in it.
- Confirm that buttons in the popup window look correct.
- Confirm that the "Clear field" button clears the field in the MARC
  editor.
- Confirm that the "Create new authority" button launches a blank
  authority editor.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: Work as described. No errors.
All buttons works: look correct, clear works, create works.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and QA script pass.
Tests done according to test plan.

http://bugs.koha-community.org/show_bug.cgi?id=9765
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc