Skip to content

Commit

Permalink
simplify concept dialog hide and error logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanderhaegen Cedrik committed Dec 10, 2014
1 parent b00499d commit da76842
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions atramhasis/static/admin/src/app/form/RelationManager.js
Expand Up @@ -47,7 +47,7 @@ define([
var dlg = self._createDialog();
dlg.show();
}
}, this.relationButton)
}, this.relationButton);

Topic.subscribe("relation.delete", function (relationId) {

Expand Down Expand Up @@ -176,12 +176,9 @@ define([
return dlg
},

reset: function (relationType) {
reset: function () {
this._relations = [];
this._createNodeList();
var lab="Add "+relationType;
this.EditRelationButton.set("label",lab);
this.EditRelationButton.set("iconClass","plusIcon");
},

getRelations: function () {
Expand Down

1 comment on commit da76842

@cedrikv
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong (old) commit title...

Please sign in to comment.