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

(-)a/koha-tmpl/intranet-tmpl/prog/js/patron-autocomplete.js (-3 / +4 lines)
Lines 45-52 function patron_autocomplete(node, options) { Link Here
45
                success: function(data) {
45
                success: function(data) {
46
                    return response(data);
46
                    return response(data);
47
                },
47
                },
48
                error: function() {
48
                error: function(e) {
49
                    alert( _("An error occurred. Check the logs") );
49
                    if ( e.state() != 'rejected' ) {
50
                        alert( _("An error occurred. Check the logs") );
51
                    }
50
                    return response();
52
                    return response();
51
                }
53
                }
52
            });
54
            });
53
- 

Return to bug 32260