]> source.dussan.org Git - nextcloud-server.git/commit
Only clear share password model when actually saved 26059/head
authorVincent Petry <vincent@nextcloud.com>
Wed, 3 Mar 2021 10:32:29 +0000 (11:32 +0100)
committernpmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Thu, 11 Mar 2021 10:20:59 +0000 (10:20 +0000)
commit51ba0faeaf65b43d5cc6fac425e4790eb9e1d447
tree4bba29eed2a38559ccf1eeb17bf9509395b9d047
parentb306b88a418c4bad3df25d000cce61cef56c4caf
Only clear share password model when actually saved

Instead of always clearing the password in the share model, now only do
it when it was actually saved.

Fixes an issue where saving another field would clear the password too
early and prevent it to be saved when the dropdown closed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
apps/files_sharing/js/dist/files_sharing_tab.js
apps/files_sharing/js/dist/files_sharing_tab.js.map
apps/files_sharing/src/mixins/SharesMixin.js