Create an array entry before filling it
This commit is contained in:
parent
5160ea6063
commit
ab997bdc68
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ OC.Share={
|
|||
}
|
||||
}
|
||||
if (shares) {
|
||||
OC.Share.statuses[itemSource] = OC.Share.statuses[itemSource] || {};
|
||||
OC.Share.statuses[itemSource]['link'] = link;
|
||||
} else {
|
||||
delete OC.Share.statuses[itemSource];
|
||||
|
|
Loading…
Reference in a new issue