Browse Source

re initialize OC.Share.currentShares OC.Share.itemShares

otherwise old values are kept.
fix for #19164
remotes/origin/db-empty-migrate
Individual IT Services 10 years ago
parent
commit
976942bb61
  1. 2
      core/js/shareitemmodel.js

2
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;
}

Loading…
Cancel
Save