mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Fixes issue with action being displayed incorrectly.
Also fixes the issue with the loading icon on copy & move. Signed-off-by: Abijeet <abijeetpatro@gmail.com>
This commit is contained in:
parent
57b649d665
commit
470310b3bf
2 changed files with 4 additions and 2 deletions
|
|
@ -480,7 +480,9 @@ a.action > img {
|
|||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.selectedActions.hidden {
|
||||
display: none;
|
||||
}
|
||||
.selectedActions a {
|
||||
display: inline;
|
||||
line-height: 50px;
|
||||
|
|
|
|||
|
|
@ -817,13 +817,13 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
self.fileMultiSelectMenu.toggleLoading('copyMove', true);
|
||||
var disableLoadingState = function(){
|
||||
self.fileMultiSelectMenu.toggleLoading('copyMove', false);
|
||||
};
|
||||
|
||||
var actions = this.isSelectedMovable() ? OC.dialogs.FILEPICKER_TYPE_COPY_MOVE : OC.dialogs.FILEPICKER_TYPE_COPY;
|
||||
OC.dialogs.filepicker(t('files', 'Target folder'), function(targetPath, type) {
|
||||
self.fileMultiSelectMenu.toggleLoading('copyMove', true);
|
||||
if (type === OC.dialogs.FILEPICKER_TYPE_COPY) {
|
||||
self.copy(files, targetPath, disableLoadingState);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue