Ver código fonte

Update CopyNMoveUI.php

yeungalan 6 anos atrás
pai
commit
d3751beaae
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      7-Zip File Manager/CopyNMoveUI.php

+ 2 - 2
7-Zip File Manager/CopyNMoveUI.php

@@ -87,14 +87,14 @@ $( "#path" ).keyup(function() {
 	var path = $("#path").val();
 	var displayPath = "";
 	if(f_dir == ""){
-		displayPath = "*";
+		displayPath = "...";
 	}else{
 		displayPath = f_dir;
 	}
 	if(path.slice(-1) !== "/"){
 		path = path + "/";
 	}
-	$("#filesshow").text("Extract to: /AOR/" + path + displayPath);
+	$("#filesshow").text("Extract to: /AOR/" + path + f_file.replace(/^.*[\\\/]/, '').replace(".","") + "/" + displayPath);
 	f_extractTo = "../" + path;
 });