Create an array entry before filling it

remotes/origin/stable6
Victor Dubiniuk 12 years ago
parent 5160ea6063
commit ab997bdc68
  1. 1
      core/js/share.js

@ -92,6 +92,7 @@ OC.Share={
} }
} }
if (shares) { if (shares) {
OC.Share.statuses[itemSource] = OC.Share.statuses[itemSource] || {};
OC.Share.statuses[itemSource]['link'] = link; OC.Share.statuses[itemSource]['link'] = link;
} else { } else {
delete OC.Share.statuses[itemSource]; delete OC.Share.statuses[itemSource];

Loading…
Cancel
Save