Skip to content
Snippets Groups Projects
Commit dca48cdc authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Errors now display in lightbox, with full details in console. BOOTSTRAP.

parent ff958f0e
No related merge requests found
......@@ -202,6 +202,7 @@ var Lightbox = {
callback(html);
},
error:function(d,e) {
Lightbox.changeContent('<p class="alert alert-error">'+d.statusText+' ('+d.status+')</p>');
console.log(e,d); // Error reporting
console.log(url,post);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment