Show an error message if tab loading fails
[?]
Feb 22, 2013, 1:17 PM
4XVYHFDLRJBRBMGFYX72UPSVHRSC5EFRDQXUK4GRENPWGK6DG7FQCDependencies
- [2]
QCGCX2BRGeneralize lazy tabs - [3]
YPDYBK5GShow dependencies as a tree rather than a list - [*]
IK53RV4V
Change contents
- replacement in src/root/common.tt at line 464
$('#[% tabName %]').load("[% uri %]");$('#[% tabName %]').load("[% uri %]", function(response, status, xhr) {if (status == "error") {$('#[% tabName %]').html("<div class='alert alert-error'>Error loading tab: " + xhr.status + " " + xhr.statusText + "</div>");}});