We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcbbe95 commit fc8d969Copy full SHA for fc8d969
1 file changed
app/assets/javascripts/page.js
@@ -11,6 +11,10 @@ $(document).on("turbolinks:load", function() {
11
$.get(container.data("async"), function(data) {
12
container.find(".modal-body").html(data);
13
t.data("loaded", true);
14
+ }).fail(function(data, err) {
15
+ container.find(".modal-body").html(
16
+ "Request failed with status " + data.status + " " + err
17
+ );
18
});
19
20
0 commit comments