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

(-)a/koha-tmpl/opac-tmpl/bootstrap/js/modals/catalog_concern.js (-1 / +5 lines)
Lines 36-42 $(document).ready(function() { Link Here
36
            success: function(data) {
36
            success: function(data) {
37
                $('#addConcernModal').modal('hide');
37
                $('#addConcernModal').modal('hide');
38
                $('#concern_body').val('');
38
                $('#concern_body').val('');
39
                $('h1:first').before('<div class="alert alert-success">Your concern was sucessfully submitted.</div>');
39
            },
40
            },
41
            error: function(data) {
42
                $('#addConcernModal').modal('hide');
43
                $('h1:first').before('<div class="alert alert-error">There was an error when submitting your concern, please contact a librarian.</div>');
44
            }
40
            contentType: "json"
45
            contentType: "json"
41
        });
46
        });
42
    });
47
    });
43
- 

Return to bug 31028