authpartner
Clone or download
Merge branch 'develop' of https://openforge.gov.in/plugins/git/digitallocker/development_auth_partner_sm_app into develop
Modified Files
--- '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");