fixed crumbs
This commit is contained in:
parent
2579370bae
commit
1b65c78093
|
@ -488,7 +488,6 @@ app.controller('websiteCtrl', [
|
|||
vm.Sites.contents(vm.copyR, vm.breadcrumbsPath.join('/'));
|
||||
}
|
||||
vm.currentFolder = vm.breadcrumbs[vm.breadcrumbs.length - 1];
|
||||
console.log(vm.breadcrumbsPath.join('/'));
|
||||
};
|
||||
|
||||
vm.removeAllFiles = function (r, opts) {
|
||||
|
@ -560,11 +559,6 @@ app.controller('websiteCtrl', [
|
|||
var msg = "'"+ vm.pathRemoved + "'" + ' has been removed.';
|
||||
vm.buildNotification(result, msg);
|
||||
if (deletedFolder) {
|
||||
var removeFolder = vm.previousSearchQuery.split('/');
|
||||
removeFolder.pop();
|
||||
vm.previousSearchQuery = removeFolder.join('/');
|
||||
vm.breadcrumbs.pop();
|
||||
vm.breadcrumbsPath.pop();
|
||||
vm.Sites.contents(vm.copyR, vm.previousSearchQuery);
|
||||
} else {
|
||||
vm.Sites.contents(vm.copyR, vm.previousSearchQuery);
|
||||
|
@ -588,12 +582,6 @@ app.controller('websiteCtrl', [
|
|||
});
|
||||
};
|
||||
|
||||
var doIT = function () {
|
||||
r.shareAccess.write = true;
|
||||
r.shareAccess.read = true;
|
||||
r.shareAccess.invite = true;
|
||||
};
|
||||
|
||||
vm.shareFolderFrom = function (r, opts) {
|
||||
var sharePath;
|
||||
if (vm.breadcrumbsPath.join('/') === '' && vm.breadcrumbs.join('/') === '') {
|
||||
|
|
Loading…
Reference in New Issue