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

(-)a/koha-tmpl/intranet-tmpl/prog/js/members.js (-1 / +9 lines)
Lines 326-331 $(document).ready(function(){ Link Here
326
        jQuery.validator.messages.phone);
326
        jQuery.validator.messages.phone);
327
327
328
    $("#entryform").validate({
328
    $("#entryform").validate({
329
        focusInvalid: false,
330
        invalidHandler: function(form, validator) {
331
            var errors = validator.numberOfInvalids();
332
            if (errors) {                    
333
                window.scrollTo(0, 0);
334
                validator.errorList[0].element.focus();
335
                window.scrollBy(0,$(window).height()/1.618);
336
            }
337
        },
329
        rules: {
338
        rules: {
330
            email: {
339
            email: {
331
                email: true
340
                email: true
332
- 

Return to bug 25680