Avoid '_node is undefined' error breaking nm

This commit is contained in:
Nathan Gray 2011-09-09 16:50:44 +00:00
parent c0962b1ce7
commit 18a930446f

View File

@ -252,7 +252,7 @@ var et2_dataview_rowProvider = Class.extend({
_path = []; _path = [];
} }
if (_root != _target) if (_root != _target && _target)
{ {
// Get the index of _target in its parent node // Get the index of _target in its parent node
var idx = this._nodeIndex(_target); var idx = this._nodeIndex(_target);