From 92c6bde6be10dbb5fd41542111bcab26b879d7e8 Mon Sep 17 00:00:00 2001 From: Giovanni Matteo Fumarola Date: Thu, 18 Oct 2018 14:25:17 -0700 Subject: [PATCH] HDFS-14005. RBF: Web UI update to bootstrap-3.3.7. Contributed by Inigo Goiri. --- .../src/main/webapps/router/federationhealth.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js index 6779b6155fa..6311a801fa5 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js @@ -156,7 +156,7 @@ $('#tab-namenode').html(out); $('#ui-tabs a[href="#tab-namenode"]').tab('show'); }); - })).error(ajax_error_handler); + })).fail(ajax_error_handler); } function load_router_info() { @@ -220,7 +220,7 @@ $('#tab-router').html(out); $('#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? @@ -306,7 +306,7 @@ ]}); $('#ui-tabs a[href="#tab-datanode"]').tab('show'); }); - })).error(ajax_error_handler); + })).fail(ajax_error_handler); } function load_mount_table() { @@ -337,7 +337,7 @@ $('#tab-mounttable').html(out); $('#ui-tabs a[href="#tab-mounttable"]').tab('show'); }); - })).error(ajax_error_handler); + })).fail(ajax_error_handler); } function toTitleCase(str) {