forked from extern/egroupware
Calendar: Fix bug preventing yearly planner from loading
This commit is contained in:
parent
87ef3d4a09
commit
49dbd89afb
@ -171,7 +171,7 @@ var et2_calendar_event = /** @class */ (function (_super) {
|
||||
var value = event === null ? null : jQuery.extend({}, event);
|
||||
var parent = this.getParent();
|
||||
var parent_owner = parent.getDOMNode(parent).dataset['owner'] || parent.getParent().options.owner;
|
||||
if (parent_owner.indexOf(',')) {
|
||||
if (parent_owner.indexOf(',') >= 0) {
|
||||
parent_owner = parent_owner.split(',');
|
||||
}
|
||||
// Make sure id is a string, check values
|
||||
|
@ -211,7 +211,7 @@ export class et2_calendar_event extends et2_valueWidget implements et2_IDetached
|
||||
const value = event === null ? null : jQuery.extend({}, event);
|
||||
let parent = <et2_DOMWidget>this.getParent();
|
||||
let parent_owner = parent.getDOMNode(parent).dataset['owner'] || parent.getParent().options.owner;
|
||||
if(parent_owner.indexOf(','))
|
||||
if(parent_owner.indexOf(',') >= 0)
|
||||
{
|
||||
parent_owner = parent_owner.split(',');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user