diff --git a/public/javascripts/pjs/attribute.pjs b/public/javascripts/pjs/attribute.pjs index 459c0a0..486024f 100644 --- a/public/javascripts/pjs/attribute.pjs +++ b/public/javascripts/pjs/attribute.pjs @@ -27,6 +27,7 @@ public class Attribute { this.label = label; this.name = label; this.resource = resource; + resource.setSelectedAttribute(this); } public void setPos(float x, float y) {