Bug 19914: Add an id to the Delete button on the library list view

To ease selenium tests, see bug 19243.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 564acdc4cd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2018-01-04 10:27:57 -03:00 committed by Fridolin Somers
parent a69b874ee6
commit cb3dd95c51
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ tinyMCE.init({
<form action="/cgi-bin/koha/admin/branches.pl" method="post">
<input type="hidden" name="branchcode" value="[% library.branchcode |html %]" />
<input type="hidden" name="op" value="delete_confirm" />
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</button>
<button type="submit" id="delete_library_[% library.branchcode | html %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</button>
</form>
</td>
</tr>