DONE.Release0.0. MISC small things. Fixed ClientRevBug

This commit is contained in:
Curtis SerVaas
2014-10-17 18:47:24 -04:00
parent 61284b39df
commit 366faa2ee6
16 changed files with 189 additions and 79 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ var NodeModel = Backbone.Model.extend({
var ancestry = [];
var parents = that.get("parents");
while(parents.length != 0){
while( !(parents[0] == "a42a" || parents[0]=="42" || parents.length==0) ) {
ancestry.push(parents);
parents = nodesCollection.findWhere({_id: parents[0]}).get("parents");
// parents = that.findModel(parents[0]).get("parents");