Update classic.php

pull/13/head
qkqpttgf 2020-01-03 16:27:47 +08:00 committed by GitHub
parent 94a6d92c52
commit 70a78a1f67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -808,6 +808,7 @@ function render_list($path, $files)
xhr1.onload = function(e){ xhr1.onload = function(e){
td2.innerHTML='<font color="red">'+xhr1.responseText+'</font>'; td2.innerHTML='<font color="red">'+xhr1.responseText+'</font>';
if (xhr1.status==200) { if (xhr1.status==200) {
console.log(xhr1.responseText);
var html=JSON.parse(xhr1.responseText); var html=JSON.parse(xhr1.responseText);
if (!html['uploadUrl']) { if (!html['uploadUrl']) {
td2.innerHTML='<font color="red">'+xhr1.responseText+'</font><br>'; td2.innerHTML='<font color="red">'+xhr1.responseText+'</font><br>';