Fix spinner positions in share tab

Also fix missing spinner when removing link share
This commit is contained in:
Vincent Petry 2015-10-16 15:54:27 +02:00
parent 4b9ec49285
commit 90e34e26bd
2 changed files with 12 additions and 3 deletions

View File

@ -6,7 +6,6 @@
.shareTabView .shareWithLoading { .shareTabView .shareWithLoading {
padding-left: 10px; padding-left: 10px;
position: relative;
right: 30px; right: 30px;
top: 2px; top: 2px;
} }
@ -73,9 +72,18 @@
} }
.shareTabView .icon-loading-small { .shareTabView .icon-loading-small {
position: absolute;
display: inline-block; display: inline-block;
z-index: 1; z-index: 1;
background-color: white; background-color: white;
padding: 2px; padding: 2px 0;
} }
.shareTabView .shareWithList .icon-loading-small,
.shareTabView .linkShareView .icon-loading-small {
position: absolute;
}
.shareTabView .linkPass .icon-loading-small {
margin-top: 9px;
}

View File

@ -141,6 +141,7 @@
this.$el.find('.linkPassText').focus(); this.$el.find('.linkPassText').focus();
} }
} else { } else {
$loading.removeClass('hidden');
if (this.model.get('linkShare').isLinkShare) { if (this.model.get('linkShare').isLinkShare) {
this.model.removeLinkShare(); this.model.removeLinkShare();
} else { } else {