HDFS-14005. RBF: Web UI update to bootstrap-3.3.7. Contributed by Inigo Goiri.

This commit is contained in:
Giovanni Matteo Fumarola 2018-10-18 14:25:17 -07:00
parent 7252f8e117
commit 1810f2392f
1 changed files with 4 additions and 4 deletions

View File

@ -156,7 +156,7 @@
$('#tab-namenode').html(out); $('#tab-namenode').html(out);
$('#ui-tabs a[href="#tab-namenode"]').tab('show'); $('#ui-tabs a[href="#tab-namenode"]').tab('show');
}); });
})).error(ajax_error_handler); })).fail(ajax_error_handler);
} }
function load_router_info() { function load_router_info() {
@ -220,7 +220,7 @@
$('#tab-router').html(out); $('#tab-router').html(out);
$('#ui-tabs a[href="#tab-router"]').tab('show'); $('#ui-tabs a[href="#tab-router"]').tab('show');
}); });
})).error(ajax_error_handler); })).fail(ajax_error_handler);
} }
// TODO Copied directly from dfshealth.js; is there a way to import this function? // TODO Copied directly from dfshealth.js; is there a way to import this function?
@ -306,7 +306,7 @@
]}); ]});
$('#ui-tabs a[href="#tab-datanode"]').tab('show'); $('#ui-tabs a[href="#tab-datanode"]').tab('show');
}); });
})).error(ajax_error_handler); })).fail(ajax_error_handler);
} }
function load_mount_table() { function load_mount_table() {
@ -337,7 +337,7 @@
$('#tab-mounttable').html(out); $('#tab-mounttable').html(out);
$('#ui-tabs a[href="#tab-mounttable"]').tab('show'); $('#ui-tabs a[href="#tab-mounttable"]').tab('show');
}); });
})).error(ajax_error_handler); })).fail(ajax_error_handler);
} }
function toTitleCase(str) { function toTitleCase(str) {