Fix root parent condition

issue5668
review31271002
This commit is contained in:
Xavier Codinas committed 2016-06-29 14:31:25 +02:00
1 parent 7225b275e8
commit b07e4521c4
1 file changed
+1 -1
+1 -1
View File
@@ -1137,7 +1137,7 @@
},
root_parent: function root_parent() {
var parent = this;
while (!parent.group.parent) {
while (parent.group.parent) {
parent = parent.group.parent;
}
return parent;