Project

General

Profile

Revision b02623ff

IDb02623ff22e8535e37c93d56a2ed581ee0f6733f
Parent 8416dde5
Child 6a7fa300

Added by Francois POIROTTE over 13 years ago

Corrections jslint.

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@6391 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

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