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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt (-1 / +9 lines)
Lines 320-325 Link Here
320
            $('#multi_receiving').on('show', function () {
320
            $('#multi_receiving').on('show', function () {
321
               $(this).find(".modal-body").html($(".serials_multi_receiving")[0].outerHTML);
321
               $(this).find(".modal-body").html($(".serials_multi_receiving")[0].outerHTML);
322
            });
322
            });
323
324
            $("form[name='edition']").on('submit', function(e){
325
                if ( $(this).find("input[name='serialid']:checked").size() == 0 ) {
326
                    e.preventDefault();
327
                    alert("You must select at least one serial to edit");
328
                    return 0;
329
                }
330
                return 1;
331
            });
323
        });
332
        });
324
333
325
    </script>
334
    </script>
326
- 

Return to bug 20616