HDFS-13823. NameNode UI : "Utilities -> Browse the file system -> open a file -> Head the file" is not working. Contributed by Nanda kumar.
This commit is contained in:
parent
b94c8874e2
commit
f760a544a7
@ -208,7 +208,7 @@
|
|||||||
processData: false,
|
processData: false,
|
||||||
crossDomain: true
|
crossDomain: true
|
||||||
}).always(function(data) {
|
}).always(function(data) {
|
||||||
$('#file-info-preview-body').val(data.responseText);
|
$('#file-info-preview-body').val(data);
|
||||||
$('#file-info-tail').show();
|
$('#file-info-tail').show();
|
||||||
}).fail(function(jqXHR, textStatus, errorThrown) {
|
}).fail(function(jqXHR, textStatus, errorThrown) {
|
||||||
show_err_msg("Couldn't preview the file. " + errorThrown);
|
show_err_msg("Couldn't preview the file. " + errorThrown);
|
||||||
|
Loading…
Reference in New Issue
Block a user