Skip to content

Commit

Permalink
#75
Browse files Browse the repository at this point in the history
Reordered the context menu
  • Loading branch information
Jonathan-Piraux committed Jul 31, 2014
1 parent 9e1d2d5 commit 8ace1b7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions atramhasis/static/admin/src/app/FilteredGrid.js
Expand Up @@ -211,15 +211,16 @@ define([
}
}));
pMenu.addChild(new MenuItem({
label: "Add a new Concept or collection",
label: "Delete",
onClick: function () {
widget._createNewConcept();
widget._deleteConcept(conceptId, type, label);
}
}));
pMenu.addChild(new dijit.MenuSeparator());
pMenu.addChild(new MenuItem({
label: "Delete",
label: "Add a new Concept or collection",
onClick: function () {
widget._deleteConcept(conceptId, type, label);
widget._createNewConcept();
}
}));

Expand Down

0 comments on commit 8ace1b7

Please sign in to comment.