https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24084 Bug ID: 24084 Summary: PlainMARC view broken on OPAC if other $.ajax calls produce errors Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org There is a problem with the how the #plainmarc div is loaded on opac-MARCdetail.pl. If there is an unrelated AJAX error you will always see the "Sorry, plain view is temporarily unavailable". To Test: 1. Make a unrelated AJAX request that would produce an error. I added this to the OPACUSERJS: $(document).ready(function () { $.ajax({url: "thisURLwontWork.html", success: function(result){ console.log('Just Making an error') }}); }); 2. Go to opac-MARCdetail.pl and notice plainmarc will not load and you will see the "Sorry, plain view is temporarily unavailable" message. -- You are receiving this mail because: You are watching all bug changes.