authpartner

Clone or download

folder navigation error fix

Modified Files

Binary files /dev/null and b/Downloads/Voter ID Card differ
M doc.php
+5 −6
--- 'a/doc.php'
+++ b/doc.php
@@ -167,7 +167,7 @@ $dataI = json_decode($issuedNew[1], TRUE
<td><?php echo($issued_detail['date']); ?></td>
<td><?php if ($api_detail['type'] == "file") { ?>
<td>
- <a href="download.php?accessToken=<?php echo $access_token; ?>&uri=<?php echo $issued_detail['uri']; ?>&fileName=<?php echo $issued_details['name']; ?>" > <i class="fa fa-download"> </i></a>
+ <a href="download.php?accessToken=<?php echo $access_token; ?>&uri=<?php echo $issued_detail['uri']; ?>&fileName=<?php echo $issued_detail['name']; ?>" > <i class="fa fa-download"> </i></a>
</td>
<?php } ?>
</tr>
@@ -205,7 +205,6 @@ $dataI = json_decode($issuedNew[1], TRUE
var fileOrFolder = "";
var onclickFnc = "";
var accessToken = "<?php echo $access_token; ?>";
-
$.post("http://localhost/digibank/uri.php", {access_token: accessTocken, id: id}, function (result) {
$.each(result.items, function (i, l) {
@@ -223,16 +222,16 @@ $dataI = json_decode($issuedNew[1], TRUE
$("#folderPath").html(uriDataHtml);
});
//$("#parent").empty();
- $("#parent").append("<i onclick=uriData(" + id + ",null)>" + result.directory + "</i>");
+ $("#parent").html("<i onclick=uriData(" + parent + ",null)>" + result.directory + "</i>");
}, "json")
.fail(function () {
$("#folderPath").html("Some error found");
});
}
- function thisIsNotAFolder() {
- alert('This is not a folder');
- }
+// function thisIsNotAFolder() {
+// alert('This is not a folder');
+// }
</script>
</html>
\ No newline at end of file
M uploaddoc.php
+1 −1
--- 'a/uploaddoc.php'
+++ b/uploaddoc.php
@@ -89,7 +89,7 @@ $dataF = json_decode($resFileNew[1], TRU
$itm .= "<option value='" . $items['name'] . "'>" . $items['name'] . "</option>";
}
}
- echo "<option value='' selected='selected'>-Select-</option>" . $itm;
+ echo "<option value='' selected='selected'>Save here</option>" . $itm;
?>
</select>
<input type="submit" name="submit" value="Upload image" />