Skip to content

Commit 4f3102b

Browse files
committed
populate share icon
1 parent ae45706 commit 4f3102b

File tree

2 files changed

+8
-2
lines changed
  • services/static-webserver/client/source/class/osparc

2 files changed

+8
-2
lines changed

services/static-webserver/client/source/class/osparc/data/model/Tag.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ qx.Class.define("osparc.data.model.Tag", {
8080
},
8181
},
8282

83+
statics: {
84+
getProperties: function() {
85+
return Object.keys(qx.util.PropertyUtil.getProperties(osparc.data.model.Tag));
86+
}
87+
},
88+
8389
members: {
8490
serialize: function() {
8591
const jsonObject = {};

services/static-webserver/client/source/class/osparc/form/tag/TagItem.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ qx.Class.define("osparc.form.tag.TagItem", {
1515
this.base(arguments);
1616
this._setLayout(new qx.ui.layout.HBox(5));
1717
this.__validationManager = new qx.ui.form.validation.Manager();
18-
this.__renderLayout();
1918
},
2019

2120
statics: {
@@ -67,7 +66,6 @@ qx.Class.define("osparc.form.tag.TagItem", {
6766
check: "Object",
6867
nullable: false,
6968
event: "changeAccessRights",
70-
apply: "__renderLayout",
7169
},
7270

7371
mode: {
@@ -165,6 +163,8 @@ qx.Class.define("osparc.form.tag.TagItem", {
165163
tag.bind("color", this, "color");
166164
tag.bind("myAccessRights", this, "myAccessRights");
167165
tag.bind("accessRights", this, "accessRights");
166+
167+
this.__renderLayout();
168168
},
169169

170170
/**

0 commit comments

Comments
 (0)