Skip to content

Commit

Permalink
Fix subscribtion
Browse files Browse the repository at this point in the history
  • Loading branch information
Andries Smit authored and Andries-Smit committed Aug 28, 2019
1 parent 350eb70 commit 54169f3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "LabelSelect",
"version": "4.5.2",
"version": "4.5.3",
"description": "With this widget you can easily create/assign/remove objects (for example labels) to/from an object.",
"license": "Apache-2",
"author": "",
Expand Down
4 changes: 1 addition & 3 deletions src/LabelSelect/widget/LabelSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@ define([
domConstruct.place(this._listBox, this.domNode);
this._constructed = true;
}

this._contextObj = obj;
this._resetSubscriptions();
if (obj) {
domStyle.set(this.domNode, "visibility", "visible");

this._contextObj = obj;
this._fetchCurrentLabels(callback);
} else {
domStyle.set(this.domNode, "visibility", "hidden");
Expand Down
2 changes: 1 addition & 1 deletion src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="LabelSelect" version="4.5.2" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="LabelSelect" version="4.5.3" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="LabelSelect/LabelSelect.xml"/>
</widgetFiles>
Expand Down

0 comments on commit 54169f3

Please sign in to comment.