Skip to content

Commit 6686d4e

Browse files
authored
HDFS-17854. Fix for Namenode Web UI file deletion bug (#8068). Contributed by Jim Halfpenny
1 parent e57306e commit 6686d4e

File tree

1 file changed

+1
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
$('#delete-prompt').text("Are you sure you want to delete " + inode_name
8585
+ " ?");
8686

87-
$('#delete-button').click(function() {
87+
$('#delete-button').off().on('click', function() {
8888
// DELETE /webhdfs/v1/<path>?op=DELETE&recursive=<true|false>
8989
var url = '/webhdfs/v1' + encode_path(absolute_file_path) +
9090
'?op=DELETE' + '&recursive=true';

0 commit comments

Comments
 (0)