fixing upload
This commit is contained in:
parent
aa82fbb01f
commit
94d4bb7b8c
|
@ -347,11 +347,11 @@ app.controller('websiteCtrl', [
|
||||||
console.log(r);
|
console.log(r);
|
||||||
};
|
};
|
||||||
vm.Sites.upload = function (r) {
|
vm.Sites.upload = function (r) {
|
||||||
r.uploadPath = undefined;
|
|
||||||
if (r.uploadPath === undefined) {
|
if (r.uploadPath === undefined) {
|
||||||
r.uploadPath = vm.autoPopulateWebPath;
|
r.uploadPath = vm.autoPopulateWebPath;
|
||||||
|
} else {
|
||||||
|
r.uploadPath = vm.breadcrumbsPath.join('') + vm.autoPopulateWebPath;
|
||||||
}
|
}
|
||||||
vm.copyUploadPath = r.uploadPath;
|
|
||||||
vm.copyr = r;
|
vm.copyr = r;
|
||||||
var pkg = Auth.oauth3.pkg('www@daplie.com');
|
var pkg = Auth.oauth3.pkg('www@daplie.com');
|
||||||
//analyzeFile(r.newFile, r);
|
//analyzeFile(r.newFile, r);
|
||||||
|
|
Loading…
Reference in New Issue