소스 검색

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

Giovanni Matteo Fumarola 6 년 전
부모
커밋
aca6b715ff
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js

+ 4 - 4
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) {