});
},
getChangeRoot: function() {
- return this.args.node1.parent();
+ return this.args[0].node1.parent();
},
isAllowed: function() {
- return this.args.node1.parent().sameNode(this.args.node2.parent());
+ return this.args[0].node1.parent().sameNode(this.args[0].node2.parent());
}
};
return true;
},
isAllowed: function() {
- var parent = this.args.nodel1.parent();
- return parent.is('list') && parent.sameNode(this.args.node2.parent());
+ var parent = this.args[0].nodel1.parent();
+ return parent.is('list') && parent.sameNode(this.args[0].node2.parent());
}
};