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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to