Skip to content

Commit 753f6ca

Browse files
authored
Small bugfix (#61)
1 parent 70da2c2 commit 753f6ca

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "calendar",
3-
"version": "5.3.3",
3+
"version": "5.3.4",
44
"description": "This is a calendar widget for Mendix. It shows a Calendar and can render objects as events in it.",
55
"license": "Apache License, Version 2.0, January 2004",
66
"author": "Mendix 2016",

src/calendar/widget/calendar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ define([
465465
entity: this.eventEntity,
466466
callback: function(obj) {
467467
this._setVariables(obj, eventData, this.startAttr, this.endAttr, allDay);
468-
this._setResourceReference(obj, this.neweventref, event.resourceId, this._mxObj);
468+
this._setResourceReference(obj, this.neweventref, jsEvent.resourceId, this._mxObj);
469469
if ((resource || this._mxObj) && this.neweventref !== "") {
470470
obj.addReference(this.neweventref.split("/")[0], (resource ? resource.id : this._mxObj.getGuid()));
471471
}

src/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<package xmlns="http://www.mendix.com/package/1.0/">
3-
<clientModule name="Calendar" version="5.3.3" xmlns="http://www.mendix.com/clientModule/1.0/">
3+
<clientModule name="Calendar" version="5.3.4" xmlns="http://www.mendix.com/clientModule/1.0/">
44
<widgetFiles>
55
<widgetFile path="calendar/calendar.xml"/>
66
<widgetFile path="calendar/calendar-scheduler.xml"/>

test/widgets/calendar.mpk

5 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)