fix detection of public upload in filelist.js
This commit is contained in:
parent
86342224da
commit
492c0571a0
|
@ -436,7 +436,7 @@ $(document).ready(function(){
|
|||
}
|
||||
var date=new Date();
|
||||
var param = {};
|
||||
if ($('#publicUploadRequestToken')) {
|
||||
if ($('#publicUploadRequestToken').length) {
|
||||
param.download_url = document.location.href + '&download&path=/' + $('#dir').val() + '/' + uniqueName;
|
||||
}
|
||||
// create new file context
|
||||
|
|
Loading…
Reference in New Issue