lint compliance

pull/1/head
yflory 5 years ago
parent f0f91b7ab2
commit e32398b308

@ -445,7 +445,7 @@ define([
} }
// Add to root // Add to root
if (path && exp.isPathIn(newPath, [ROOT])) { if (path && exp.isPathIn(newPath, [ROOT])) {
var parentEl = exp.find(newPath); parentEl = exp.find(newPath);
if (parentEl) { if (parentEl) {
var newName = exp.getAvailableName(parentEl, Hash.createChannelId()); var newName = exp.getAvailableName(parentEl, Hash.createChannelId());
parentEl[newName] = id; parentEl[newName] = id;

Loading…
Cancel
Save