diff options
author | Individual IT Services <info@individual-it.net> | 2015-09-21 17:01:50 +0545 |
---|---|---|
committer | Individual IT Services <info@individual-it.net> | 2015-09-21 17:01:50 +0545 |
commit | 976942bb61e2c758b91de52c23925cb03e3a4cbd (patch) | |
tree | e7754ebfa8547b97e297e49a7008cb2f86fc3d84 /core/js/shareitemmodel.js | |
parent | c433d48d8e4b6dd1392a25170dff173852544fcf (diff) | |
download | nextcloud-server-976942bb61e2c758b91de52c23925cb03e3a4cbd.tar.gz nextcloud-server-976942bb61e2c758b91de52c23925cb03e3a4cbd.zip |
re initialize OC.Share.currentShares OC.Share.itemShares
otherwise old values are kept.
fix for #19164
Diffstat (limited to 'core/js/shareitemmodel.js')
-rw-r--r-- | core/js/shareitemmodel.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/shareitemmodel.js b/core/js/shareitemmodel.js index ff0d3a6d800..3ed10afd149 100644 --- a/core/js/shareitemmodel.js +++ b/core/js/shareitemmodel.js @@ -618,6 +618,8 @@ var fileId = this.fileInfoModel.get('id'); if (!shares || !shares.length) { delete OC.Share.statuses[fileId]; + OC.Share.currentShares = {}; + OC.Share.itemShares = []; return; } |