View | Details | Raw Unified | Return to bug 16995
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-3 lines)
Lines 127-134 Link Here
127
127
128
<div id="toolbar" class="btn-toolbar">
128
<div id="toolbar" class="btn-toolbar">
129
129
130
<form method="post" name="f" id="f" action="/cgi-bin/koha/cataloguing/addbiblio.pl" onsubmit="return Check();">
131
132
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ||
130
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ||
133
CAN_user_serials_create_subscription ) %]
131
CAN_user_serials_create_subscription ) %]
134
    <div class="btn-group">
132
    <div class="btn-group">
Lines 263-269 CAN_user_serials_create_subscription ) %] Link Here
263
    [% END %]
261
    [% END %]
264
[% END %]
262
[% END %]
265
263
266
</form>
267
</div>
264
</div>
268
265
269
    <!--Modal for Dublin Core-->
266
    <!--Modal for Dublin Core-->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc (-4 / +6 lines)
Lines 69-75 $(document).ready(function(){ Link Here
69
    $("#searchtohold").click(function(){
69
    $("#searchtohold").click(function(){
70
        searchToHold();
70
        searchToHold();
71
        return false;
71
        return false;
72
    })
72
    });
73
    $("#select_patron_messages").on("change",function(){
74
        $("#borrower_message").val( $(this).val() );
75
    });
73
});
76
});
74
function confirm_deletion() {
77
function confirm_deletion() {
75
    var is_confirmed = window.confirm(_("Are you sure you want to delete this patron? This cannot be undone."));
78
    var is_confirmed = window.confirm(_("Are you sure you want to delete this patron? This cannot be undone."));
Lines 234-241 function searchToHold(){ Link Here
234
                [% bor_notes = AuthorisedValues.Get( 'BOR_NOTES' ) %]
237
                [% bor_notes = AuthorisedValues.Get( 'BOR_NOTES' ) %]
235
                [% IF bor_notes %]
238
                [% IF bor_notes %]
236
                    <li>
239
                    <li>
237
                        <label for="type">Predefined notes: </label>
240
                        <label for="select_patron_messages">Predefined notes: </label>
238
                        <select name="type" id="type" onchange="this.form.borrower_message.value=this.options[this.selectedIndex].value;">
241
                        <select name="type" id="select_patron_messages">
239
                            <option value="">Select note</option>
242
                            <option value="">Select note</option>
240
                            [% FOREACH bor_note IN bor_notes %]
243
                            [% FOREACH bor_note IN bor_notes %]
241
                                <option value="[% bor_note.lib %]">[% bor_note.lib %]</option>
244
                                <option value="[% bor_note.lib %]">[% bor_note.lib %]</option>
242
- 

Return to bug 16995