Revision b02623ff
Corrections jslint.
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@6391 b22e2e97-25c9-44ff-b637-2e5ceca36478
vigigraph/public/js/tree.js | ||
---|---|---|
53 | 53 |
}); |
54 | 54 |
|
55 | 55 |
// Envoi de la requête |
56 |
if (!$chk(top_node)) |
|
57 |
if (!$defined(this.options.hostid)) |
|
56 |
if (!$chk(top_node)) {
|
|
57 |
if (!$defined(this.options.hostid)) {
|
|
58 | 58 |
req.get({parent_id: parent_node.options.data}); |
59 |
else |
|
59 |
} |
|
60 |
else { |
|
60 | 61 |
req.get({parent_id: parent_node.options.data, host_id: this.options.hostid}); |
61 |
else if (!$defined(this.options.hostid)) |
|
62 |
} |
|
63 |
} |
|
64 |
else if (!$defined(this.options.hostid)) { |
|
62 | 65 |
req.get(); |
63 |
else |
|
66 |
} |
|
67 |
else { |
|
64 | 68 |
req.get({host_id: this.options.hostid}); |
69 |
} |
|
65 | 70 |
}, |
66 | 71 |
|
67 | 72 |
/* Ajout d'un noeud à l'arbre */ |
Also available in: Unified diff