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

(-)a/koha-tmpl/opac-tmpl/prog/en/css/opac.css (+1 lines)
Lines 3064-3069 padding: 0.1em 0; Link Here
3064
.holdrow fieldset {
3064
.holdrow fieldset {
3065
    border : 0;
3065
    border : 0;
3066
    margin : 0;
3066
    margin : 0;
3067
    float: none;
3067
}
3068
}
3068
.hold-options {
3069
.hold-options {
3069
    clear : both;
3070
    clear : both;
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt (-11 / +3 lines)
Lines 108-114 Link Here
108
        if (!changeSelection(newCopiesRowId, true)) {
108
        if (!changeSelection(newCopiesRowId, true)) {
109
            return false;
109
            return false;
110
        }
110
        }
111
        $(".copiesrow:not(" + newCopiesRowId + ")").hide();
112
111
113
        // Show the specific copy table for this radio button.
112
        // Show the specific copy table for this radio button.
114
        $(newCopiesRowId).show();
113
        $(newCopiesRowId).show();
Lines 126-132 Link Here
126
        }
125
        }
127
126
128
        // Hide the copies table row
127
        // Hide the copies table row
129
        $(".copiesrow").hide();
128
        $(newCopiesRowId).hide();
130
    });
129
    });
131
130
132
    // When 'Place Hold' button is clicked
131
    // When 'Place Hold' button is clicked
Lines 182-193 Link Here
182
        e.preventDefault();
181
        e.preventDefault();
183
        toggleLink = $(this);
182
        toggleLink = $(this);
184
        var optionsID = this.id.replace("toggle-hold-options-","");
183
        var optionsID = this.id.replace("toggle-hold-options-","");
185
        var copiesRow = $("#copiesrow_"+optionsID)
186
        $("#hold-options-"+optionsID).toggle(0, function() {
184
        $("#hold-options-"+optionsID).toggle(0, function() {
187
            if( copiesRow.is(':visible') ){
188
                $("#reqany_"+optionsID).prop("checked",true);
189
                copiesRow.hide();
190
            }
191
            toggleLink.text($(this).is(':visible') ? _("Hide options") : _("Show more options"));
185
            toggleLink.text($(this).is(':visible') ? _("Hide options") : _("Show more options"));
192
        });
186
        });
193
    });
187
    });
Lines 468-476 Link Here
468
                            [% END %]
462
                            [% END %]
469
                        [% END %]
463
                        [% END %]
470
                </ul>
464
                </ul>
471
            </div>
472
                </fieldset>
473
                <br style="clear:both" />
474
                  [% IF ( OPACItemHolds ) %]
465
                  [% IF ( OPACItemHolds ) %]
475
                  [% IF ( bibitemloo.holdable ) %]
466
                  [% IF ( bibitemloo.holdable ) %]
476
467
Lines 552-557 Link Here
552
                  [% END %]<!-- bib_available -->
543
                  [% END %]<!-- bib_available -->
553
544
554
                  [% END %]<!-- OPACItemHolds -->
545
                  [% END %]<!-- OPACItemHolds -->
546
            </div>
547
                </fieldset>
555
                [% END %]
548
                [% END %]
556
549
557
              [% END %] <!-- if message -->
550
              [% END %] <!-- if message -->
558
- 

Return to bug 10836