Add missing part from commit 4c7709d49f

This commit is contained in:
Hadi Nategh 2020-07-10 13:16:31 +02:00
parent 502d423885
commit 146cba903b

View File

@ -927,6 +927,10 @@ var et2_vfsUpload = /** @class */ (function (_super) {
}
}
}
// Set up for expose
if (file_data && typeof file_data.download_url === "undefined") {
file_data.download_url = "/webdav.php" + file_data.path;
}
var row = jQuery(document.createElement("tr"))
.attr("data-path", file_data.path.replace(/'/g, '&quot'))
.attr("draggable", "true")