Create an array entry before filling it
This commit is contained in:
parent
5160ea6063
commit
ab997bdc68
|
@ -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 New Issue