Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Oct 20, 2014
2 parents 2c84da0 + 7564730 commit 66f41d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/Node.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ define(['./ContextMenu', './appendNodeFactory', './util'], function (ContextMenu
var node = this;
var path = [];
while (node) {
var field = node.field || node.index;
var field = node.field != undefined ? node.field : node.index;
if (field !== undefined) {
path.unshift(field);
}
Expand Down

0 comments on commit 66f41d8

Please sign in to comment.