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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-1 lines)
Lines 707-713 Link Here
707
    [% INCLUDE 'strings.inc' %]
707
    [% INCLUDE 'strings.inc' %]
708
    [% Asset.js("js/browser.js") | $raw %]
708
    [% Asset.js("js/browser.js") | $raw %]
709
    [% Asset.js("lib/hc-sticky.js") | $raw %]
709
    [% Asset.js("lib/hc-sticky.js") | $raw %]
710
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
711
    [% Asset.js("js/coce.js") | $raw %]
710
    [% Asset.js("js/coce.js") | $raw %]
712
    <script>
711
    <script>
713
        var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
712
        var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js (-8 / +3 lines)
Lines 164-170 $(document).ready(function() { Link Here
164
        }
164
        }
165
    });
165
    });
166
    $("#bookbag_form").ready(function(){
166
    $("#bookbag_form").ready(function(){
167
        $("#bookbag_form").unCheckCheckboxes();
167
        $("#bookbag_form input:checkbox").prop("checked", false);
168
        var bibnums = getContextBiblioNumbers();
168
        var bibnums = getContextBiblioNumbers();
169
        if (bibnums) {
169
        if (bibnums) {
170
            for (var i=0; i < bibnums.length; i++) {
170
            for (var i=0; i < bibnums.length; i++) {
Lines 211-228 function highlightOn() { Link Here
211
211
212
212
213
function selectAll () {
213
function selectAll () {
214
    $("#bookbag_form").checkCheckboxes();
215
    $("#bookbag_form").find("input[type='checkbox'][name='biblionumber']").each(function(){
214
    $("#bookbag_form").find("input[type='checkbox'][name='biblionumber']").each(function(){
216
        $(this).change();
215
        $(this).prop("checked", true ).change();
217
    } );
216
    } );
218
    return false;
219
}
217
}
220
function clearAll () {
218
function clearAll () {
221
    $("#bookbag_form").unCheckCheckboxes();
222
    $("#bookbag_form").find("input[type='checkbox'][name='biblionumber']").each(function(){
219
    $("#bookbag_form").find("input[type='checkbox'][name='biblionumber']").each(function(){
223
        $(this).change();
220
        $(this).prop("checked", false).change();
224
    } );
221
    } );
225
    return false;
226
}
222
}
227
function placeHold () {
223
function placeHold () {
228
    var checkedItems = $(".selection:checked");
224
    var checkedItems = $(".selection:checked");
229
- 

Return to bug 26216