Skip to content

Commit

Permalink
hide branch dropdown menu from purchase suggestions form
Browse files Browse the repository at this point in the history
  • Loading branch information
phette23 committed Feb 1, 2024
1 parent 5085420 commit 3a85a8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions catalog-js/suggestions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// purchase suggestions form
if (location.href.indexOf('/cgi-bin/koha/opac-suggestions.pl?op=add') !== -1) {
// SF (default) is only valid branch selection so hide this menu
$('#branch').parent('li').hide()
}

0 comments on commit 3a85a8e

Please sign in to comment.