From 1b65c78093bffee8f91d9813d7ff11c5bc5bc5e0 Mon Sep 17 00:00:00 2001 From: Jon Lambson Date: Thu, 26 Oct 2017 16:50:36 -0600 Subject: [PATCH] fixed crumbs --- js/controllers/website-controller.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/js/controllers/website-controller.js b/js/controllers/website-controller.js index 98bcabd..a840e96 100644 --- a/js/controllers/website-controller.js +++ b/js/controllers/website-controller.js @@ -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('/') === '') {