From: Testelocker Server Date: Wed, 28 Jun 2017 12:43:58 +0530 Subject: Merge branch 'develop' of https://openforge.gov.in/plugins/git/digitallocker/development_auth_partner_sm_app into develop --- Merge branch 'develop' of https://openforge.gov.in/plugins/git/digitallocker/development_auth_partner_sm_app into develop --- --- '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");