fixing some weird click throughs
This commit is contained in:
parent
94d4bb7b8c
commit
e40340362e
|
@ -547,6 +547,10 @@ app.controller('websiteCtrl', [
|
||||||
vm.deleteFilesFrom(r, folder);
|
vm.deleteFilesFrom(r, folder);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vm.doSomething = function (r) {
|
||||||
|
window.alert("Fix me");
|
||||||
|
};
|
||||||
|
|
||||||
vm.Shares = {};
|
vm.Shares = {};
|
||||||
vm.Shares.invite = function (r) {
|
vm.Shares.invite = function (r) {
|
||||||
vm.domainName = r.domain;
|
vm.domainName = r.domain;
|
||||||
|
@ -555,7 +559,7 @@ app.controller('websiteCtrl', [
|
||||||
} else {
|
} else {
|
||||||
r.shareMode = vm.copiedShareMode;
|
r.shareMode = vm.copiedShareMode;
|
||||||
}
|
}
|
||||||
r.sharePath = vm.autoPopulateWebPath;
|
r.sharePath = vm.breadcrumbsPath.join('');
|
||||||
var pkg = Auth.oauth3.pkg('www@daplie.com');
|
var pkg = Auth.oauth3.pkg('www@daplie.com');
|
||||||
return pkg.invite({
|
return pkg.invite({
|
||||||
comment: r.shareEmail
|
comment: r.shareEmail
|
||||||
|
@ -576,6 +580,11 @@ app.controller('websiteCtrl', [
|
||||||
msg = result.data.error.message;
|
msg = result.data.error.message;
|
||||||
} else {
|
} else {
|
||||||
msg = 'shared with ' + person;
|
msg = 'shared with ' + person;
|
||||||
|
vm.showInviteContainer = false;
|
||||||
|
vm.showSharesContainer = true;
|
||||||
|
r.shareEmail = '';
|
||||||
|
$scope.selectedAccess = [];
|
||||||
|
vm.currentFolder = undefined;
|
||||||
}
|
}
|
||||||
vm.buildNotification(result, msg);
|
vm.buildNotification(result, msg);
|
||||||
// window.alert(JSON.stringify(result.data));
|
// window.alert(JSON.stringify(result.data));
|
||||||
|
|
|
@ -183,7 +183,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="square-service-block">
|
<div class="square-service-block">
|
||||||
<a ng-click="vm.deleteFilesFrom(r)" class="cp">
|
<a ng-click="vm.doSomething(r)" class="cp">
|
||||||
<div class="ssb-icon"><i class="fa fa-trash" aria-hidden="true"></i></div>
|
<div class="ssb-icon"><i class="fa fa-trash" aria-hidden="true"></i></div>
|
||||||
<h2 class="ssb-title">Delete</h2>
|
<h2 class="ssb-title">Delete</h2>
|
||||||
</a>
|
</a>
|
||||||
|
@ -218,7 +218,6 @@
|
||||||
<div class="text-center {{ vm.displaySpinner }}">
|
<div class="text-center {{ vm.displaySpinner }}">
|
||||||
<i class="fa fa-spinner fa-spin fa-5x"></i>
|
<i class="fa fa-spinner fa-spin fa-5x"></i>
|
||||||
</div>
|
</div>
|
||||||
<span class="text-muted" ng-if="r.sharedWith.length === 1">Currently not shared with anyone...</span>
|
|
||||||
<ul class="shares-container" ng-repeat="share in r.sharedWith" ng-if="!share.me">
|
<ul class="shares-container" ng-repeat="share in r.sharedWith" ng-if="!share.me">
|
||||||
<li>
|
<li>
|
||||||
<div class="media">
|
<div class="media">
|
||||||
|
|
Loading…
Reference in New Issue