From: indresh singh bhadoria Date: Wed, 28 Jun 2017 12:50:30 +0530 Subject: folder blank message add --- folder blank message add --- --- 'a/doc.php' +++ b/doc.php @@ -278,7 +278,8 @@ function uriData(id, parent) { $(".se-pre-con").hide(); }, "json") .fail(function () { - $("#folderPath").html("Some error found"); + $("#folderPath").html("No document available in this folder"); + $(".se-pre-con").hide(); }); } function download(uris, filename) { --- 'a/uploaddoc.php' +++ b/uploaddoc.php @@ -211,6 +211,7 @@ $(document).on('change', "#fileUpload", }); $("#filePath").val(""); function uriData(id, parent) { + $("#folderPath").empty(); $("#fileUpload").val(""); $("#filePath").val(""); @@ -246,7 +247,8 @@ function uriData(id, parent) { $(".se-pre-con").hide(); }, "json") .fail(function () { - $("#folderPath").html("Some error found"); + $("#folderPath").html("No document available in this folder"); + $(".se-pre-con").hide(); }); } $(".se-pre-con").fadeOut("slow");