wtf
This commit is contained in:
parent
1b65c78093
commit
ae50d3dd14
|
@ -233,7 +233,9 @@ app.controller('websiteCtrl', [
|
||||||
}
|
}
|
||||||
opts.progress.uploadTotal = 0;
|
opts.progress.uploadTotal = 0;
|
||||||
vm.buildNotification(result, msg);
|
vm.buildNotification(result, msg);
|
||||||
vm.Sites.contents(vm.copyR, vm.previousSearchQuery);
|
vm.cleanArrays();
|
||||||
|
vm.Sites.allContents(vm.copyR);
|
||||||
|
// vm.Sites.contents(vm.copyR, vm.previousSearchQuery);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -529,6 +531,7 @@ app.controller('websiteCtrl', [
|
||||||
};
|
};
|
||||||
|
|
||||||
vm.triggerDeleteFolder = function (path, r) {
|
vm.triggerDeleteFolder = function (path, r) {
|
||||||
|
vm.deletedFolder = true;
|
||||||
path = cleanPathQuery(path);
|
path = cleanPathQuery(path);
|
||||||
var opts = {
|
var opts = {
|
||||||
path: path
|
path: path
|
||||||
|
@ -559,9 +562,13 @@ app.controller('websiteCtrl', [
|
||||||
var msg = "'"+ vm.pathRemoved + "'" + ' has been removed.';
|
var msg = "'"+ vm.pathRemoved + "'" + ' has been removed.';
|
||||||
vm.buildNotification(result, msg);
|
vm.buildNotification(result, msg);
|
||||||
if (deletedFolder) {
|
if (deletedFolder) {
|
||||||
vm.Sites.contents(vm.copyR, vm.previousSearchQuery);
|
vm.cleanArrays();
|
||||||
|
vm.Sites.allContents(vm.copyR);
|
||||||
|
// vm.Sites.contents(vm.copyR, vm.previousSearchQuery);
|
||||||
} else {
|
} else {
|
||||||
vm.Sites.contents(vm.copyR, vm.previousSearchQuery);
|
vm.cleanArrays();
|
||||||
|
vm.Sites.allContents(vm.copyR);
|
||||||
|
// vm.Sites.contents(vm.copyR, vm.previousSearchQuery);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -618,6 +625,7 @@ app.controller('websiteCtrl', [
|
||||||
|
|
||||||
vm.count = 0;
|
vm.count = 0;
|
||||||
vm.isRoot = true;
|
vm.isRoot = true;
|
||||||
|
vm.deletedFolder = false;
|
||||||
vm.Sites.upload = function (r) {
|
vm.Sites.upload = function (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