works without subdomain

This commit is contained in:
Jon Lambson 2017-11-06 13:30:25 -07:00
parent a47b7ac969
commit 8d4337d091
1 changed files with 6 additions and 4 deletions

View File

@ -255,10 +255,12 @@ app.controller('websiteCtrl', [
vm.uploadFileContainer = false; vm.uploadFileContainer = false;
} }
vm.buildNotification(result, msg); vm.buildNotification(result, msg);
vm.cleanArrays(); if (vm.copyR !== undefined) {
var path = vm.breadcrumbsPath.join('/'); vm.cleanArrays();
cleanPathQuery(path); var path = vm.breadcrumbsPath.join('/');
vm.Sites.contents(vm.copyR, vm.cleanedPath); cleanPathQuery(path);
vm.Sites.contents(vm.copyR, vm.cleanedPath);
}
}); });
}; };