diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-23 11:41:20 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-23 11:41:20 +0200 |
commit | 0c283dc02052dae0e50ed40d7ac084f045caab59 (patch) | |
tree | 79b7da5d84fc2a3d52bcbf820e18399afb6b2bf9 /core/js | |
parent | bcdb3c26da28e3797833da3afaac997d067730be (diff) | |
parent | 976942bb61e2c758b91de52c23925cb03e3a4cbd (diff) | |
download | nextcloud-server-0c283dc02052dae0e50ed40d7ac084f045caab59.tar.gz nextcloud-server-0c283dc02052dae0e50ed40d7ac084f045caab59.zip |
Merge pull request #19220 from individual-it/fix_19164
re initialize OC.Share.currentShares OC.Share.itemShares
Diffstat (limited to 'core/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; } |