Skip to content
Snippets Groups Projects
Commit 6b95a62d authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

default connection types

parent de13f9de
Branches
Tags
No related merge requests found
......@@ -81,7 +81,7 @@ LatticeMenuView = Backbone.View.extend({
_setAppStateToDefaultsSilently: function(newCellType, newConnectionType){
if (!newConnectionType){
newConnectionType = "face";
newConnectionType = _.keys(dmaGlobals.appState.get("allConnectionTypes")[newCellType])[0];
this.lattice.set("connectionType", newConnectionType, {silent:true});
}
this.model.set("connectionType", newConnectionType, {silent:true});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment